cvs commit: src/include stdio.h src/lib/libc/stdio Makefile.inc clrerr.c feof.c ferror.c fileno.c getc.c getchar.c local.h putc.c putchar.c unlocked.c xprintf.c

Joerg Sonnenberger joerg at britannica.bec.de
Tue May 6 18:14:50 UTC 2008


On Mon, May 05, 2008 at 11:27:44AM -0400, John Baldwin wrote:
> I'll be reverting this shortly.  I had misparsed the maze of stdio headers in 
> glibc and thought that it had a fully opaque FILE.  I will probably not 
> restore unlocked.c though and just leave foo_unlocked() in foo.c.  I will 
> restore all the inlining though since there's not much point in axeing that 
> if we can't make FILE private.

I've seen a bunch of interesting problems when making FILE opaque in
DragonFly. A bunch of programs want to mess with it, e.g. mh is pretty
bad. Even worse is modern gnulib, which also depends on using stdio
internals. I've seen one case where FILE was copied in screen...

Joerg


More information about the cvs-src mailing list