* binmode.c (cygwin_premain0): Don't use underscore'd variants of the
open flags. * textmode.c (cygwin_premain0): Ditto.
This commit is contained in:
parent
2eda5822db
commit
d8ba3ea1db
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue