public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] stdio: drop unused O_TEXT handling on non-Cygwin
@ 2019-02-22 22:34 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-02-22 22:34 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5fcbbf7ead615c116f8e08047093232b1325faf4
commit 5fcbbf7ead615c116f8e08047093232b1325faf4
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Feb 22 21:52:22 2019 +0100
stdio: drop unused O_TEXT handling on non-Cygwin
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
newlib/libc/stdio/flags.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/newlib/libc/stdio/flags.c b/newlib/libc/stdio/flags.c
index 71fc1f6..1aa86d3 100644
--- a/newlib/libc/stdio/flags.c
+++ b/newlib/libc/stdio/flags.c
@@ -89,10 +89,6 @@ __sflags (struct _reent *ptr,
break;
}
}
-#if defined (O_TEXT) && !defined (__CYGWIN__)
- if (!(m | O_BINARY))
- m |= O_TEXT;
-#endif
*optr = m | o;
return ret;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-22 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 22:34 [newlib-cygwin] stdio: drop unused O_TEXT handling on non-Cygwin Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).