OSDN Git Service

* devices.cc (device::isfs): Return true for the logical case of devn == FH_FS.
authorcgf <cgf>
Thu, 30 Dec 2004 16:21:58 +0000 (16:21 +0000)
committercgf <cgf>
Thu, 30 Dec 2004 16:21:58 +0000 (16:21 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/devices.h

index c84d188..ab702db 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-30  Christopher Faylor  <cgf@timesys.com>
+
+       * devices.cc (device::isfs): Return true for the logical case of
+       devn == FH_FS.
+
 2004-12-28  Christopher Faylor  <cgf@timesys.com>
 
        * pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the
index c01e230..f17aeed 100644 (file)
@@ -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;