PERFORCE change 155289 for review
Gabor Kovesdan
gabor at FreeBSD.org
Thu Dec 25 17:50:21 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=155289
Change 155289 by gabor at gabor_server on 2008/12/26 01:50:08
- Increase pre-read buffer to enhance accuracy of binary file detection
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/grep/file.c#36 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/grep/file.c#36 (text+ko) ====
@@ -55,7 +55,7 @@
/* Some global variable for the buffering and reading. */
static char *lnbuf;
static size_t lnbuflen;
-static char binbuf[BUFSIZ * 4];
+static char binbuf[BUFSIZ * 8];
static int binbufsiz;
char *binbufptr;
static int bzerr;
More information about the p4-projects
mailing list