Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2004 11:43:51 -0800 (PST)
From:      "Jordan K. Hubbard" <jkh@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio fvwrite.c
Message-ID:  <200403021943.i22JhpIB002755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403021943.i22JhpIB002755>