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.cc
parentde86e35bc42919388be659124c6e80655f8c23d4 (diff)
* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 00a8e0b0b..014857023 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1169,3 +1169,5 @@ fhandler_base::closedir (DIR *)
set_errno (ENOTDIR);
return -1;
}
+bool fhandler_base::get_w_binary () { return FHISSETF (WBINSET) ? FHISSETF (WBINARY) : 1; }
+bool fhandler_base::get_r_binary () { return FHISSETF (RBINSET) ? FHISSETF (RBINARY) : 1; }