Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 11:31:42 +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:  <86ejax4bjl.fsf@ds4.des.no>
In-Reply-To: <200802271902.m1RJ23wd012246@repoman.freebsd.org> (John Baldwin's message of "Wed\, 27 Feb 2008 19\:02\:03 %2B0000 \(UTC\)")
References:  <200802271902.m1RJ23wd012246@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 *.

If someone out there is stupid enough to do

FILE f =3D *fopen("foo", "r+");

then they deserve the breakage...

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?86ejax4bjl.fsf>