PERFORCE change 145606 for review
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jul 22 13:38:43 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=145606
Change 145606 by gabor at 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.
More information about the p4-projects
mailing list