]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "fcntl--.h" and "unistd--.h", to map open
authorJim Meyering <jim@meyering.net>
Thu, 22 Dec 2005 14:34:20 +0000 (14:34 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Dec 2005 14:34:20 +0000 (14:34 +0000)
and dup to open_safer and dup_safer, respectively.
(openat_permissive): Fix typo in comment.

lib/openat.c

index 20c217d978f26d9cdc6edd8390c38018802cd219..69d4c23f9add6d9becc19c9fb6535281c833fac2 100644 (file)
 #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