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

Hiten Pandya hmp at crater.dragonflybsd.org
Mon Jun 7 21:04:42 PDT 2004


hmp         2004/06/07 21:04:11 PDT

DragonFly src repository

  Modified files:
    lib/libc/stdio       fvwrite.c 
  Log:
  If handed a bad file pointer that we can't write to, set the errno value
  to EBADF in order to get SUSv2 conformant behavior in higher level calls
  like fputs() and puts().
  
  Obtained-from: 	FreeBSD (HEAD)
  
  Revision  Changes    Path
  1.5       +4 -1      src/lib/libc/stdio/fvwrite.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/fvwrite.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list