svn commit: r352518 - head/usr.sbin/ntp/libntp
Cy Schubert
cy at FreeBSD.org
Thu Sep 19 14:45:05 UTC 2019
Author: cy
Date: Thu Sep 19 14:45:04 2019
New Revision: 352518
URL: https://svnweb.freebsd.org/changeset/base/352518
Log:
Reduce calls to close(2) at startup through the use of closefrom(2).
Submitted by: pawel.biernacki at gmail.com
Reviewed by: mjg, cy
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D21715
Modified:
head/usr.sbin/ntp/libntp/Makefile
Modified: head/usr.sbin/ntp/libntp/Makefile
==============================================================================
--- head/usr.sbin/ntp/libntp/Makefile Thu Sep 19 14:36:30 2019 (r352517)
+++ head/usr.sbin/ntp/libntp/Makefile Thu Sep 19 14:45:04 2019 (r352518)
@@ -83,7 +83,7 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
-I${.CURDIR:H} \
-I${.CURDIR}/
-CFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H
+CFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H -DHAVE_CLOSEFROM
CLEANFILES+= .version version.c
More information about the svn-src-all
mailing list