cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

Dag-Erling Smørgrav des at des.no
Thu Feb 28 10:31:51 UTC 2008


John Baldwin <jhb at FreeBSD.org> 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 *.

If someone out there is stupid enough to do

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

then they deserve the breakage...

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list