From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124168 invoked by alias); 22 Feb 2019 22:34:08 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 124124 invoked by uid 9078); 22 Feb 2019 22:34:07 -0000 Date: Fri, 22 Feb 2019 22:34:00 -0000 Message-ID: <20190222223407.124122.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] stdio: drop unused O_TEXT handling on non-Cygwin X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 14e22688535e3695a7f73a0c82f3535ce164ee67 X-Git-Newrev: 5fcbbf7ead615c116f8e08047093232b1325faf4 X-SW-Source: 2019-q1/txt/msg00033.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5fcbbf7ead615c116f8e08047093232b1325faf4 commit 5fcbbf7ead615c116f8e08047093232b1325faf4 Author: Corinna Vinschen Date: Fri Feb 22 21:52:22 2019 +0100 stdio: drop unused O_TEXT handling on non-Cygwin Signed-off-by: Corinna Vinschen 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; }