mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2006-03-29 Eric Blake <ebb9@byu.net>
* libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo. * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
This commit is contained in:
parent
084fba647c
commit
6507c09718
@ -1,3 +1,8 @@
|
||||
2006-03-29 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
|
||||
* libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
|
||||
|
||||
2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/sys/linux/io.c (__mknod): Fix declaration of
|
||||
|
@ -168,7 +168,7 @@ _DEFUN(_freopen_r, (ptr, file, mode, fp),
|
||||
* F_SETFL doesn't change textmode. Don't mess with modes of ttys.
|
||||
*/
|
||||
if (0 <= f && ! isatty (f)
|
||||
&& setmode (f, flags & (O_BINARY | O_TEXT)) == -1)
|
||||
&& setmode (f, oflags & (O_BINARY | O_TEXT)) == -1)
|
||||
f = -1;
|
||||
#endif
|
||||
|
||||
|
@ -168,7 +168,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
|
||||
* F_SETFL doesn't change textmode. Don't mess with modes of ttys.
|
||||
*/
|
||||
if (0 <= f && ! isatty (f)
|
||||
&& setmode (f, flags & (O_BINARY | O_TEXT)) == -1)
|
||||
&& setmode (f, oflags & (O_BINARY | O_TEXT)) == -1)
|
||||
f = -1;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user