]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268926, r268930, r268983:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 18:28:10 +0000 (18:28 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 18:28:10 +0000 (18:28 +0000)
commitc22b0adc437f01f8ef8df827aca7893cc642c8bf
treefffeed563f0bdf924883b06dc4de075adb02c829
parent9ae511eb0a954a61be8ece75cb9a60b992961aa4
MFC r268926, r268930, r268983:

Use a correct errno in freopen.
Use EBADF instead of EINVAL when working around incorrect O_ACCMODE.

Adjust errno on failed prepwrite.

rewind: always clear error indicator as required by POSIX.

Obtained from: Apple Inc. (Libc 997.90.3)
Phabric: D442

git-svn-id: svn://svn.freebsd.org/base/stable/10@269482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/stdio/freopen.c
lib/libc/stdio/rewind.c
lib/libc/stdio/vfprintf.c
lib/libc/stdio/vfwprintf.c
lib/libc/stdio/wbuf.c