]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(O_NOFOLLOW): Define.
authorJim Meyering <jim@meyering.net>
Fri, 23 Dec 2005 08:27:44 +0000 (08:27 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 23 Dec 2005 08:27:44 +0000 (08:27 +0000)
lib/chmod-safer.c

index 218a11448c6743f6ef7ce613a6f1de34f675417f..aac61dfc8b30a7dbbd748e2b7829d4b4fa538563 100644 (file)
 
 #include "fcntl--.h" /* for the open->open_safer mapping */
 
+#if !defined O_NOFOLLOW
+# define O_NOFOLLOW 0
+#endif
+
 #ifndef HAVE_FCHMOD
 # define HAVE_FCHMOD false
 # define fchmod(fd, mode) (-1)