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:
Jeff Johnston 2006-03-29 21:57:21 +00:00
parent 084fba647c
commit 6507c09718
3 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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