Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2019 14:45:04 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352518 - head/usr.sbin/ntp/libntp
Message-ID:  <201909191445.x8JEj4RS017529@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909191445.x8JEj4RS017529>