Re: OpenNTPD: Remove _PATH_DEVNULL

2015-07-17 Thread Claudio Jeker
On Fri, Jul 17, 2015 at 07:43:11PM -0500, Brent Cook wrote: > /dev/null will be available on any POSIX system, but _PATH_DEVNULL may > not, e.g. Solaris. There doesn't seem to be any advantage to > using the define (and we don't use it much in the tree either.) Also OK claudio@ > http://pubs.ope

OpenNTPD: Remove _PATH_DEVNULL

2015-07-17 Thread Brent Cook
/dev/null will be available on any POSIX system, but _PATH_DEVNULL may not, e.g. Solaris. There doesn't seem to be any advantage to using the define (and we don't use it much in the tree either.) http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap10.html --- src/usr.sbin/ntpd/ntp.c |