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
This commit is contained in:
Cy Schubert 2019-09-19 14:45:04 +00:00
parent 05a42b7621
commit 1e8687d261
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352518

View file

@ -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