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

John Baldwin jhb at FreeBSD.org
Fri May 2 15:25:08 UTC 2008


jhb         2008-05-02 15:25:07 UTC

  FreeBSD src repository

  Modified files:
    include              stdio.h 
    lib/libc/stdio       Makefile.inc clrerr.c feof.c ferror.c 
                         fileno.c getc.c getchar.c local.h putc.c 
                         putchar.c xprintf.c 
  Removed files:
    lib/libc/stdio       unlocked.c 
  Log:
  Next round of stdio changes: Remove all inlining of stdio operations and
  move the definition of the type backing FILE (struct __sFILE) into an
  internal header.
  - Remove macros to inline certain operations from stdio.h.  Applications
    will now always call the functions instead.
  - Move the various foo_unlocked() functions from unlocked.c into foo.c.
    This lets some of the inlining macros (e.g. __sfeof()) move into
    foo.c.
  - Update a few comments.
  - struct __sFILE can now go back to using mbstate_t, pthread_t, and
    pthread_mutex_t instead of knowing about their private, backing types.
  
  MFC after:      1 month
  Reviewed by:    kan
  
  Revision  Changes    Path
  1.65      +4 -172    src/include/stdio.h
  1.38      +1 -1      src/lib/libc/stdio/Makefile.inc
  1.11      +10 -1     src/lib/libc/stdio/clrerr.c
  1.11      +9 -1      src/lib/libc/stdio/feof.c
  1.11      +8 -2      src/lib/libc/stdio/ferror.c
  1.12      +9 -1      src/lib/libc/stdio/fileno.c
  1.15      +7 -2      src/lib/libc/stdio/getc.c
  1.14      +7 -2      src/lib/libc/stdio/getchar.c
  1.32      +132 -2    src/lib/libc/stdio/local.h
  1.15      +7 -2      src/lib/libc/stdio/putc.c
  1.15      +7 -2      src/lib/libc/stdio/putchar.c
  1.2       +0 -94     src/lib/libc/stdio/unlocked.c (dead)
  1.7       +3 -2      src/lib/libc/stdio/xprintf.c


More information about the cvs-src mailing list