DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jun 2004 21:04:11 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]