cvs commit: src/lib/libc/stdio _flock_stub.c local.h

John Birrell jb at FreeBSD.org
Mon Mar 8 18:45:00 PST 2004


jb          2004/03/08 18:44:59 PST

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       _flock_stub.c local.h 
  Log:
  On 4.X it was possible for an application to initialise a local FILE
  structure and call stdio functions. In 5.X this was broken when FILE
  locking was introduced into libc.
  
  This change makes most (relevant) stdio functions work again when the
  _extra file in FILE isn't initialised (and can't be without a libc
  function to do it since the __sFILEX structure is private to libc).
  
  Revision  Changes    Path
  1.13      +9 -3      src/lib/libc/stdio/_flock_stub.c
  1.22      +1 -1      src/lib/libc/stdio/local.h


More information about the cvs-src mailing list