Make sure we don't open a file on a standard fd (that is, 0/1/2).
commit56682c9ff55c8de70f1c67129e2f82d0c4605385
authorJames Youngman <jay@gnu.org>
Sun, 11 Apr 2010 11:42:01 +0000 (11 12:42 +0100)
committerJames Youngman <jay@gnu.org>
Mon, 12 Apr 2010 23:36:55 +0000 (13 00:36 +0100)
treebffad0b002690f39eb966dc495e41ada54237a9e
parent61415ade1e434ee715a1c3d85fc21f7473073dae
Make sure we don't open a file on a standard fd (that is, 0/1/2).

* lib/fdleak.c: Include fcntl--.h to turn calls to open into calls
to open_safer.
* find/find.c: Likewise.

Signed-off-by: James Youngman <jay@gnu.org>
ChangeLog
find/find.c
lib/fdleak.c