On Fri, Apr 19, 2002 at 07:36:33PM -0400, Roland McGrath wrote: > > Sure, but there is *no* difference between doing so immediately and > > doing so upon demand... > > Sure there is. The basic requirement here is that the the OPEN_MAX limit > be enforced as specified,
I don't have my copy of POSIX around, but I also remember a vague requirement (or expectation) that the file descriptor allocated is always the smallest file descriptor available. So a program that does close(0); tmpfile(); might expect to have the file descriptor allocated for tmpfile to be 0. Keeping track of this in a delayed allocation is hairy. But as I said, I am a filesystem-size-limitation away from the standard document, so I can't check right now. Compiling emacs and glibc is more important (so I can check your patch ;). Thanks, Marcus _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd