ports-mgmt/synth: Fix open file descriptor issue for purge-distfiles cmd

The purge-distfiles command reads the distinfo file of every port in the
tree, but unfortunately never closed the file descriptor when the scan
was complete.  This resulted in 26,000+ open file descriptors, possibly
exceeding the host server's FD limit.  (issue #70)
This commit is contained in:
John Marino 2017-01-20 03:40:53 +00:00
parent 08bbe03abc
commit 28b65eaff9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431930
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= synth
PORTVERSION= 1.66
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= ports-mgmt
@ -19,6 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libncurses.a:devel/ncurses \
USES= ada:6
USE_GITHUB= yes
GH_ACCOUNT= jrmarino
GH_TAGNAME= 4d9f5ea
GPR= ${LOCALBASE}/lib/gnat
MAKE_ENV= NCURSES_LINK=static

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1481720544
SHA256 (jrmarino-synth-v1.66_GH0.tar.gz) = 4edd974e5ed091a1b629e4c9ff7507923156aa749b9664ca7f727e220931bc2b
SIZE (jrmarino-synth-v1.66_GH0.tar.gz) = 137564
TIMESTAMP = 1484861755
SHA256 (jrmarino-synth-v1.66-4d9f5ea_GH0.tar.gz) = 7b3eba1c84b9f10db9d82b61fd29d217d17edb5da51f747b07a4daf17214b56e
SIZE (jrmarino-synth-v1.66-4d9f5ea_GH0.tar.gz) = 137605