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

John Baldwin jhb at FreeBSD.org
Tue Apr 22 17:03:33 UTC 2008


jhb         2008-04-22 17:03:32 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       fopen.c 
  Log:
  Fix a leak in the recent fixes for file descriptors > SHRT_MAX.  In the
  case of a file descriptor we can't handle, clear the FILE structure's flags
  so it can be reused.
  
  MFC after:      1 week
  Reported by:    otto @ OpenBSD
  
  Revision  Changes    Path
  1.14      +1 -0      src/lib/libc/stdio/fopen.c


More information about the cvs-src mailing list