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

Jordan K. Hubbard jkh at FreeBSD.org
Tue Mar 2 11:43:52 PST 2004


jkh         2004/03/02 11:43:51 PST

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       fvwrite.c 
  Log:
  If handed a file pointer we can't write to, set errno properly to EBADF
  in order to get SUSv2 conformant behavior in higher level calls like
  fputs() and puts().
  
  Reviewed by:    bde
  
  Revision  Changes    Path
  1.16      +4 -1      src/lib/libc/stdio/fvwrite.c


More information about the cvs-src mailing list