summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-12-30 16:21:59 +0000
committerChristopher Faylor <me@cgf.cx>2004-12-30 16:21:59 +0000
commitd89a855e73a6ba51ce88b75b054fdc40b0dca859 (patch)
treeedb693726ac9bbdf83a731088688442dce3ab89b /winsup/cygwin/devices.h
parentf312634c02b130c8acd6ce46006fc8b8bc9da599 (diff)
downloadcygnal-d89a855e73a6ba51ce88b75b054fdc40b0dca859.tar.gz
cygnal-d89a855e73a6ba51ce88b75b054fdc40b0dca859.tar.bz2
cygnal-d89a855e73a6ba51ce88b75b054fdc40b0dca859.zip
* devices.cc (device::isfs): Return true for the logical case of devn == FH_FS.
Diffstat (limited to 'winsup/cygwin/devices.h')
-rw-r--r--winsup/cygwin/devices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h
index c01e2306f..f17aeed18 100644
--- a/winsup/cygwin/devices.h
+++ b/winsup/cygwin/devices.h
@@ -144,7 +144,7 @@ struct device
void tty_to_real_device ();
inline operator int () const {return devn;}
inline void setfs (bool x) {dev_on_fs = x;}
- inline bool isfs () const {return dev_on_fs;}
+ inline bool isfs () const {return dev_on_fs || devn == FH_FS;}
};
extern const device *console_dev;