From b6c621211bc3e0620affe71acde0c99ad12ce773 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 22 Dec 2005 14:34:20 +0000 Subject: Include "fcntl--.h" and "unistd--.h", to map open and dup to open_safer and dup_safer, respectively. (openat_permissive): Fix typo in comment. --- lib/openat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/openat.c b/lib/openat.c index 20c217d97..69d4c23f9 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -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 #include @@ -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 -- cgit v1.2.3-70-g09d2