Date: Thu, 28 Feb 2008 11:40:54 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c Message-ID: <867igp4b49.fsf@ds4.des.no> In-Reply-To: <86ejax4bjl.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Thu\, 28 Feb 2008 11\:31\:42 %2B0100") References: <200802271902.m1RJ23wd012246@repoman.freebsd.org> <86ejax4bjl.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > John Baldwin <jhb@FreeBSD.org> writes: > > At some point in the future we should look at expanding the file descri= ptor > > 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 >=3D32768. It's a pity we're not allowed to increase FOPEN_MAX beyond some ridiculously low number... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867igp4b49.fsf>