Commit 6ab26126 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Always look for .rej files...

parent 14721f53
......@@ -91,9 +91,9 @@ VSUB_closefrom(int fd)
if (maxfd == 0)
maxfd = sysconf(_SC_OPEN_MAX);
assert(i > 0);
for (; i > fd; i--)
(void)close(i);
assert(maxfd > 0);
for (; maxfd > fd; maxfd--)
(void)close(maxfd);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment