Make it so the test harness closes fds up to 100 (#1268)

This commit is contained in:
Gabriel Ravier 2024-08-30 01:12:53 +02:00 committed by GitHub
parent 884d89235f
commit 06a1193b4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
__log_level = kLogInfo;
GetOpts(argc, argv);
for (fd = 3; fd < 10; ++fd) {
for (fd = 3; fd < 100; ++fd) {
close(fd);
}