svn commit: r352589 - in stable: 11/usr.sbin/ntp/libntp 12/usr.sbin/ntp/libntp

Cy Schubert cy at FreeBSD.org
Sun Sep 22 05:16:11 UTC 2019


Author: cy
Date: Sun Sep 22 05:16:10 2019
New Revision: 352589
URL: https://svnweb.freebsd.org/changeset/base/352589

Log:
  MFC r352518:
  
  Reduce calls to close(2) at startup through the use of closefrom(2).
  
  Submitted by:	pawel.biernacki at gmail.com
  Reviewed by:	mjg, cy
  Differential Revision:	https://reviews.freebsd.org/D21715

Modified:
  stable/12/usr.sbin/ntp/libntp/Makefile
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/usr.sbin/ntp/libntp/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/usr.sbin/ntp/libntp/Makefile
==============================================================================
--- stable/12/usr.sbin/ntp/libntp/Makefile	Sun Sep 22 00:12:43 2019	(r352588)
+++ stable/12/usr.sbin/ntp/libntp/Makefile	Sun Sep 22 05:16:10 2019	(r352589)
@@ -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