Date: Tue, 8 Jun 2004 05:44:52 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio wsetup.c Message-ID: <200406080544.i585iqYY055458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004-06-08 05:44:52 UTC FreeBSD src repository Modified files: lib/libc/stdio wsetup.c Log: Set errno to EBADF on attempts to write to a stream that is not writable. Affected callers include fwrite(), put?(), and *printf(). The issue of whether this is the right errno for funopened streams is unresolved, but that's an obscure case, and some errno is better than no errno. Discussed with: bde, jkh Revision Changes Path 1.9 +5 -2 src/lib/libc/stdio/wsetup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080544.i585iqYY055458>