On Thursday 28 February 2008 05:40:54 am Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > John Baldwin <[EMAIL PROTECTED]> writes: > > > At some point in the future we should look at expanding the file descriptor > > > in FILE to an int, but that is a bit complicated due to ABI issues. > > There shouldn't be any ABI issues, since FILE should never, ever be used > > directly, only through FILE *. > > After reading the discussion on -arch, I take that back; but as Garrett > pointed out, a simple way of fixing it is to just return EMFILE if the > fd we get from open() is >=32768. > > It's a pity we're not allowed to increase FOPEN_MAX beyond some > ridiculously low number...
The problem is I'd also like it to work if we get a "large" fd. glibc handles this fine. -- John Baldwin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
