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:
authorChristopher Faylor <me@cgf.cx>2002-06-01 02:53:25 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-01 02:53:25 +0400
commit8e74c3207f2f92b4ce5b2f2a030d639e1745d6b6 (patch)
tree5fdb7c5dae4c688c6a38ce1b51b4d724615d0705 /winsup/cygwin/fhandler_console.cc
parentde86e35bc42919388be659124c6e80655f8c23d4 (diff)
* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 957dd4662..ac4f9ba68 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -547,6 +547,7 @@ fhandler_console::open (path_conv *, int flags, mode_t)
set_io_handle (INVALID_HANDLE_VALUE);
set_output_handle (INVALID_HANDLE_VALUE);
+ set_flags (flags);
set_w_binary (1);
set_r_binary (1);