* binmode.c (cygwin_premain0): Fix erroneous clearing of bit.
* textmode.c (cygwin_premain0): Ditto.
This commit is contained in:
parent
44cac41121
commit
51b2ec5d03
|
@ -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>
|
||||
|
||||
* dcrt0.cc (_dll_crt0): Renamed from dll_crt0 ().
|
||||
|
|
|
@ -14,6 +14,6 @@ extern int _fmode;
|
|||
void
|
||||
cygwin_premain0(int argc, char **argv)
|
||||
{
|
||||
_fmode &= _O_TEXT;
|
||||
_fmode &= ~_O_TEXT;
|
||||
_fmode |= _O_BINARY;
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@ extern int _fmode;
|
|||
void
|
||||
cygwin_premain0(int argc, char **argv)
|
||||
{
|
||||
_fmode &= _O_BINARY;
|
||||
_fmode &= ~_O_BINARY;
|
||||
_fmode |= _O_TEXT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue