Subject: changed files: 'src/usr.bin/cmp cmp.c'
To: None <source-changes>
From: Charles Hannum <mycroft>
List: source-changes
Date: 12/01/1993 17:56:06
Update of /b/source/CVS/src/usr.bin/cmp
In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/usr.bin/cmp

Modified Files:
	cmp.c 
Log Message:
As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don't
flag a short read on the 2nd file as an EOF when it isn't.  This implementation
differs in that at most one read is done per file per comparison, so that an
early mismatch may avoid hanging on input or continuing some expensive process
if reading from a pipe.


------------------------------------------------------------------------------