]> sourceware.org Git - newlib-cygwin.git/commitdiff
* binmode.c (cygwin_premain0): Don't use underscore'd variants of the
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 25 Nov 2014 11:27:12 +0000 (11:27 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 25 Nov 2014 11:27:12 +0000 (11:27 +0000)
open flags.
* textmode.c (cygwin_premain0): Ditto.

winsup/cygwin/ChangeLog
winsup/cygwin/binmode.c
winsup/cygwin/textmode.c

index 16d836c0148cc64dd9468bbda277ce9de50e9d80..4f66888e2a5cdbed27841ef5a6de7cad41d2a7c6 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-25  Corinna Vinschen  <corinna@vinschen.de>
+
+       * binmode.c (cygwin_premain0): Don't use underscore'd variants of the
+       open flags.
+       * textmode.c (cygwin_premain0): Ditto.
+
 2014-11-21  Corinna Vinschen  <corinna@vinschen.de>
 
        * init.cc (dll_entry): Revert previous patch.  This requires another
index d4673d17dfcc5aab461d279dd31b7d1b17c3f485..4c6c2ddbaa8e69ceb637e9bd6aa2336ffedd1151 100644 (file)
@@ -1,6 +1,6 @@
 /* binmode.c
 
-   Copyright 2000, 2001, 2010, 2013 Red Hat, Inc.
+   Copyright 2000, 2001, 2010, 2013, 2014 Red Hat, Inc.
 
 This file is part of Cygwin.
 
@@ -18,6 +18,6 @@ cygwin_premain0 (int argc __attribute__ ((unused)),
                 char **argv __attribute__ ((unused)),
                 struct per_process *myself __attribute__ ((unused)))
 {
-  _fmode &= ~_O_TEXT;
-  _fmode |= _O_BINARY;
+  _fmode &= ~O_TEXT;
+  _fmode |= O_BINARY;
 }
index 320b7545317f8f96a70ea93579e0814f86635d95..e8636bfe92a4337d2d381c6313995ac24b011c8a 100644 (file)
@@ -1,6 +1,6 @@
 /* binmode.c
 
-   Copyright 2000, 2001, 2010, 2013 Red Hat, Inc.
+   Copyright 2000, 2001, 2010, 2013, 2014 Red Hat, Inc.
 
 This file is part of Cygwin.
 
@@ -18,6 +18,6 @@ cygwin_premain0 (int argc __attribute__ ((unused)),
                 char **argv __attribute__ ((unused)),
                 struct per_process *myself __attribute__ ((unused)))
 {
-  _fmode &= ~_O_BINARY;
-  _fmode |= _O_TEXT;
+  _fmode &= ~O_BINARY;
+  _fmode |= O_TEXT;
 }
This page took 0.038781 seconds and 5 git commands to generate.