Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/binmode.c')
-rw-r--r--winsup/cygwin/binmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/binmode.c b/winsup/cygwin/binmode.c
index b49842032..afc885441 100644
--- a/winsup/cygwin/binmode.c
+++ b/winsup/cygwin/binmode.c
@@ -14,6 +14,6 @@ extern int _fmode;
void
cygwin_premain0(int argc, char **argv)
{
- _fmode &= _O_TEXT;
+ _fmode &= ~_O_TEXT;
_fmode |= _O_BINARY;
}