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.h
parentde86e35bc42919388be659124c6e80655f8c23d4 (diff)
* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 91ac5cc09..31b540619 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -179,8 +179,8 @@ class fhandler_base
bool is_nonblocking ();
void set_nonblocking (int yes);
- bool get_w_binary () { return FHISSETF (WBINARY); }
- bool get_r_binary () { return FHISSETF (RBINARY); }
+ bool get_w_binary () { return FHISSETF (WBINSET) ? FHISSETF (WBINARY) : 1; }
+ bool get_r_binary () { return FHISSETF (RBINSET) ? FHISSETF (RBINARY) : 1; }
bool get_w_binset () { return FHISSETF (WBINSET); }
bool get_r_binset () { return FHISSETF (RBINSET); }