bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: O_NOFOLLOW on NetBSD


From: Paul Eggert
Subject: Re: O_NOFOLLOW on NetBSD
Date: Mon, 14 Aug 2017 16:46:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Bruno Haible wrote:
Gnulib makes use of O_NOFOLLOW in a couple of places. On NetBSD, this definition
(and some others) are only enabled under _NETBSD_SOURCE. See
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/fcntl.h?rev=1.48&content-type=text/x-cvsweb-markup

https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/sys/featuretest.h

says that defining _NETBSD_SOURCE should be helpful only if _ANSI_SOURCE, _POSIX_SOURCE, _POSIX_C_SOURCE, or _XOPEN_SOURCE is defined. I suppose it shouldn't hurt to define _NETBSD_SOURCE, to handle these (presumably rare) configurations.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]