1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-31 23:06:33 +02:00

Include "fcntl--.h" and "unistd--.h", to map open

and dup to open_safer and dup_safer, respectively.
(openat_permissive): Fix typo in comment.
This commit is contained in:
Jim Meyering
2005-12-22 14:34:20 +00:00
parent 1e1938032b
commit b6c621211b
+3 -1
View File
@@ -24,8 +24,10 @@
#include "openat.h"
#include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
#include "fcntl--.h"
#include "openat-priv.h"
#include "save-cwd.h"
#include "unistd--.h"
#include <stdarg.h>
#include <stddef.h>
@@ -71,7 +73,7 @@ openat (int fd, char const *file, int flags, ...)
If a previous attempt to restore the current working directory
failed, then we must not even try to access a `.'-relative name.
It is the caller's responsibility to not to call this function
It is the caller's responsibility not to call this function
in that case. */
int