Subject: CVS commit: src/usr.bin/cmp
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/07/2005 07:51:42
Module Name:	src
Committed By:	dsl
Date:		Mon Mar  7 07:51:42 UTC 2005

Modified Files:
	src/usr.bin/cmp: regular.c

Log Message:
Initialise dfound outside loop so that 0 sized files compare correctly
and to that 'cmp -l' will exit with error is the last block matches.
Pointed out in a private mail bt someone who wishes to remain anonymous.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/usr.bin/cmp/regular.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.