Module Name: src Committed By: christos Date: Sun Sep 15 23:55:23 UTC 2019
Modified Files: src/sys/sys: fcntl.h stat.h Log Message: more _INCOMPLETE_XOPEN_C063 (kamil) To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/sys/fcntl.h cvs rdiff -u -r1.68 -r1.69 src/sys/sys/stat.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.52 src/sys/sys/fcntl.h:1.53 --- src/sys/sys/fcntl.h:1.52 Sun Sep 15 16:25:48 2019 +++ src/sys/sys/fcntl.h Sun Sep 15 19:55:22 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fcntl.h,v 1.52 2019/09/15 20:25:48 christos Exp $ */ +/* $NetBSD: fcntl.h,v 1.53 2019/09/15 23:55:22 christos Exp $ */ /*- * Copyright (c) 1983, 1990, 1993 @@ -115,7 +115,7 @@ #define O_DIRECTORY 0x00200000 /* fail if not a directory */ #define O_CLOEXEC 0x00400000 /* set close on exec */ #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \ - defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE) + defined(_NETBSD_SOURCE) #define O_SEARCH 0x00800000 /* skip search permission checks */ #endif #if defined(_NETBSD_SOURCE) @@ -295,7 +295,7 @@ struct flock { * Constants for X/Open Extended API set 2 (a.k.a. C063) */ #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \ - defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE) + defined(_NETBSD_SOURCE) #define AT_FDCWD -100 /* Use cwd for relative link target */ #define AT_EACCESS 0x100 /* Use euig/egid for access checks */ #define AT_SYMLINK_NOFOLLOW 0x200 /* Do not follow symlinks */ @@ -328,7 +328,7 @@ int posix_fallocate(int, off_t, off_t); * X/Open Extended API set 2 (a.k.a. C063) */ #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \ - defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE) + defined(_NETBSD_SOURCE) int openat(int, const char *, int, ...); #endif Index: src/sys/sys/stat.h diff -u src/sys/sys/stat.h:1.68 src/sys/sys/stat.h:1.69 --- src/sys/sys/stat.h:1.68 Thu Oct 17 14:01:11 2013 +++ src/sys/sys/stat.h Sun Sep 15 19:55:22 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: stat.h,v 1.68 2013/10/17 18:01:11 njoly Exp $ */ +/* $NetBSD: stat.h,v 1.69 2019/09/15 23:55:22 christos Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -273,7 +273,7 @@ int lchmod(const char *, mode_t); * X/Open Extended API set 2 (a.k.a. C063) */ #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0) >= 700 || \ - defined(_NETBSD_SOURCE) || defined(_INCOMPLETE_XOPEN_C063) + defined(_NETBSD_SOURCE) int fchmodat(int, const char *, mode_t, int); int fstatat(int, const char *, struct stat *, int); int mkdirat(int, const char *, mode_t);