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

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

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

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list