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>2001-09-14 08:22:05 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-14 08:22:05 +0400
commit02a9889121d3e5c23bd6aabfe1ed6e37fa43a54a (patch)
tree95538f110f04ce90d62caabaff31d56418e12eb5 /winsup/cygwin/fhandler.h
parentcd6ed3f9f5ab14944f7c591a3dc9ca285b754a33 (diff)
* fhandler.h (fhandler_pipe::is_slow): Return true only if pipes are reliable
(i.e., not Win9x). * wincap.cc: Make statics NO_COPY to avoid fork overhead.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index f094ca463..1f6f839e8 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -442,7 +442,7 @@ public:
/* This strange test is due to the fact that we can't rely on
Windows shells to "do the right thing" with pipes. Apparently
the can keep one end of the pipe open when it shouldn't be. */
- BOOL is_slow () {return wincap.has_unreliable_pipes ();}
+ BOOL is_slow () {return !wincap.has_unreliable_pipes ();}
select_record *select_read (select_record *s);
select_record *select_write (select_record *s);
select_record *select_except (select_record *s);