PERFORCE change 155904 for review
    Gabor Kovesdan 
    gabor at FreeBSD.org
       
    Sat Jan 10 04:11:01 PST 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=155904
Change 155904 by gabor at gabor_server on 2009/01/10 12:10:37
	- This should have been the right change
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/grep/file.c#39 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/grep/file.c#39 (text+ko) ====
@@ -133,7 +133,7 @@
 		/* Only pre-read to the buffer if we need the binary check. */
 		if (binbehave != BINFILE_TEXT) {
 			if (f->stdin == 1)
-				st.st_size = 0;
+				st.st_size = MAXBUFSIZ;
 			else if (stat(fname, &st) != 0)
 				err(2, NULL);
 
    
    
More information about the p4-projects
mailing list