Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-12-22 19:45:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-12-22 19:45:15 +0300
commit52792a770dd5c40202ea98917b8af384b60da83c (patch)
treee9317162611e0445c04cd46dfddca71a2c752070 /winsup/cygwin/include/fcntl.h
parentdb55f91dc081407404559ebe50f126fed048800e (diff)
* fhandler.h (fhandler_base::issymlink): New method.
* syscalls.cc (open): Handle O_NOFOLLOW flag. * include/fcntl.h (_FNOFOLLOW): New define. (O_NOFOLLOW): Ditto. * include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/include/fcntl.h')
-rw-r--r--winsup/cygwin/include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/include/fcntl.h b/winsup/cygwin/include/fcntl.h
index 33b0692b3..6e50b3304 100644
--- a/winsup/cygwin/include/fcntl.h
+++ b/winsup/cygwin/include/fcntl.h
@@ -16,8 +16,10 @@ details. */
/* sys/fcntl defines values up to 0x40000 (O_NOINHERIT). */
#define _FDIRECT 0x80000
+#define _FNOFOLLOW 0x100000
#define O_DIRECT _FDIRECT
+#define O_NOFOLLOW _FNOFOLLOW
#define O_DSYNC _FSYNC
#define O_RSYNC _FSYNC