NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/44973 CVS commit: src/usr.bin/find
The following reply was made to PR bin/44973; it has been noted by GNATS.
From: "David A. Holland" <dholland%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/44973 CVS commit: src/usr.bin/find
Date: Sun, 18 Mar 2012 17:09:46 +0000
Module Name: src
Committed By: dholland
Date: Sun Mar 18 17:09:46 UTC 2012
Modified Files:
src/usr.bin/find: find.c
Log Message:
Avoid testing a possibly uninitialized errno value when using -exit.
Closes PR 44973 (change is a somewhat more principled equivalent of
the patch suggested there) although I cannot replicate the reported
behavior unless I explicitly prepare errno with a nonzero value before
the fts_read loop.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/find/find.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index