Date: Tue, 22 Jul 2008 13:38:42 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 145606 for review Message-ID: <200807221338.m6MDcggi044986@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145606 Change 145606 by gabor@gabor_server on 2008/07/22 13:37:48 - Fix a bug in binary support Affected files ... .. //depot/projects/soc2008/gabor_textproc/grep/file.c#20 edit Differences ... ==== //depot/projects/soc2008/gabor_textproc/grep/file.c#20 (text+ko) ==== @@ -59,7 +59,7 @@ static int bzerr; -#define iswbinary(ch) (!iswspace((ch)) && iswcntrl((ch))) +#define iswbinary(ch) (!iswspace((ch)) && iswcntrl((ch)) && (ch != L'\b') && (ch != L'\0')) /* * Returns a single character according to the file type.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807221338.m6MDcggi044986>