public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] stdio: drop unused O_TEXT handling on non-Cygwin Date: Fri, 22 Feb 2019 22:34:00 -0000 [thread overview] Message-ID: <20190222223407.124122.qmail@sourceware.org> (raw) 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; }
reply other threads:[~2019-02-22 22:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190222223407.124122.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).