* 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.
This commit is contained in:
Christopher Faylor
2001-09-14 04:22:05 +00:00
parent cd6ed3f9f5
commit 02a9889121
3 changed files with 18 additions and 12 deletions

View File

@ -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);