1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-05 08:10:15 +02:00

chdir-safer.c still needs unistd.h

This commit is contained in:
Paul Eggert
2005-12-25 21:40:01 +00:00
parent f7a0d07623
commit 7cffc5f20e
+1 -1
View File
@@ -3,7 +3,7 @@
* chdir-safer.h (FCHMOD_SAFER_H): Remove: it was misnamed, and
wasn't needed anyay.
* chdir-safer.c (chdir_no_follow): Don't include stdio.h, assert.h,
unistd.h, fcntl--.h; not needed.
fcntl--.h; not needed.
(O_DIRECTORY): Define if not already defined.
(chdir_no_follow): Revamp describing comment to match code more
closely. Redo use of internal vars to avoid lint complaints.