Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(FACT-3446) Call close(2) with Solaris FFI
Previously, when Facter ran on Solaris it would use shutdown(2) to attempt to close open sockets. However, this would leak file descriptors and occasionally cause an issue where the system would hit its maximum open files. This commit updates Facter to instead use close(2) on Solaris to ensure that file descriptors are not leaked.
- Loading branch information