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:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user