HomeFreeBSD

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

Description

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)

Details

Provenance
marinoAuthored on
Parents
rP431929: - Update to 3.4.6
Branches
Unknown
Tags
Unknown