On Tue, 2 May 2006 17:55:02 +0000 (UTC) "Henrik Grubbstr_m (Lysator) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se wrote:
EBADF? Which OS is this?
OpenBSD, I'm 99% sure NetBSD will have the same problem. According to the man page:
closefrom() will fail if:
[EBADF] fd is greater than any open file descriptor.
[EINTR] An interrupt was received.
Adam