svn commit: r268798 - head/usr.bin/grep

Pedro F. Giffuni pfg at FreeBSD.org
Thu Jul 17 14:51:51 UTC 2014


Author: pfg
Date: Thu Jul 17 14:51:50 2014
New Revision: 268798
URL: http://svnweb.freebsd.org/changeset/base/268798

Log:
  grep: Fix type.
  
  Obtained from:	NetBSD (CVS rev. 1.17)
  MFC after:	3 days

Modified:
  head/usr.bin/grep/util.c

Modified: head/usr.bin/grep/util.c
==============================================================================
--- head/usr.bin/grep/util.c	Thu Jul 17 13:39:18 2014	(r268797)
+++ head/usr.bin/grep/util.c	Thu Jul 17 14:51:50 2014	(r268798)
@@ -302,7 +302,7 @@ procline(struct str *l, int nottext)
 					r = REG_NOMATCH;
 			/* Check for whole word match */
 			if (r == 0 && (wflag || fg_pattern[i].word)) {
-				wint_t wbegin, wend;
+				wchar_t wbegin, wend;
 
 				wbegin = wend = L' ';
 				if (pmatch.rm_so != 0 &&


More information about the svn-src-all mailing list