* binmode.c (cygwin_premain0): Fix erroneous clearing of bit.

* textmode.c (cygwin_premain0): Ditto.
This commit is contained in:
Christopher Faylor 2000-07-01 15:45:20 +00:00
parent 44cac41121
commit 51b2ec5d03
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Jul 1 11:43:32 2000 Christopher Faylor <cgf@cygnus.com>
* binmode.c (cygwin_premain0): Fix erroneous clearing of bit.
* textmode.c (cygwin_premain0): Ditto.
Sat Jul 1 00:24:04 2000 Christopher Faylor <cgf@cygnus.com> Sat Jul 1 00:24:04 2000 Christopher Faylor <cgf@cygnus.com>
* dcrt0.cc (_dll_crt0): Renamed from dll_crt0 (). * dcrt0.cc (_dll_crt0): Renamed from dll_crt0 ().

View File

@ -14,6 +14,6 @@ extern int _fmode;
void void
cygwin_premain0(int argc, char **argv) cygwin_premain0(int argc, char **argv)
{ {
_fmode &= _O_TEXT; _fmode &= ~_O_TEXT;
_fmode |= _O_BINARY; _fmode |= _O_BINARY;
} }

View File

@ -14,6 +14,6 @@ extern int _fmode;
void void
cygwin_premain0(int argc, char **argv) cygwin_premain0(int argc, char **argv)
{ {
_fmode &= _O_BINARY; _fmode &= ~_O_BINARY;
_fmode |= _O_TEXT; _fmode |= _O_TEXT;
} }