Subject: CVS commit: src/usr.bin/patch
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/09/2006 19:06:34
Module Name:	src
Committed By:	christos
Date:		Sun Apr  9 19:06:34 UTC 2006

Modified Files:
	src/usr.bin/patch: inp.c

Log Message:
It is silly to creat() and close a file just to stat it. open/fstat/close
instead checking for errors. From Coverity CID 1276.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/usr.bin/patch/inp.c

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