Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 05:16:11 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352589 - in stable: 11/usr.sbin/ntp/libntp 12/usr.sbin/ntp/libntp
Message-ID:  <201909220516.x8M5GB7F045856@repo.freebsd.org>

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



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