Module Name:    src
Committed By:   snj
Date:           Sun Feb 25 23:57:51 UTC 2018

Modified Files:
        src/sys/sys [netbsd-8]: fcntl.h

Log Message:
Pull up following revision(s) (requested by kamil in ticket #563):
        sys/sys/fcntl.h: 1.50
Enable O_NOFOLLOW in the POSIX namespace
This open(2) flag first appeared in FreeBSD and was standarized by POSIX
in the 2008 standard.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.48.8.1 src/sys/sys/fcntl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/fcntl.h
diff -u src/sys/sys/fcntl.h:1.48 src/sys/sys/fcntl.h:1.48.8.1
--- src/sys/sys/fcntl.h:1.48	Tue Jan 10 23:08:13 2017
+++ src/sys/sys/fcntl.h	Sun Feb 25 23:57:51 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: fcntl.h,v 1.48 2017/01/10 23:08:13 christos Exp $	*/
+/*	$NetBSD: fcntl.h,v 1.48.8.1 2018/02/25 23:57:51 snj Exp $	*/
 
 /*-
  * Copyright (c) 1983, 1990, 1993
@@ -90,7 +90,7 @@
     (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
 #define	O_SYNC		0x00000080	/* synchronous writes */
 #endif
-#if defined(_NETBSD_SOURCE)
+#if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE)
 #define	O_NOFOLLOW	0x00000100	/* don't follow symlinks on the last */
 					/* path component */
 #endif

Reply via email to