* devices.cc (device::isfs): Return true for the logical case of devn == FH_FS.

This commit is contained in:
Christopher Faylor 2004-12-30 16:21:59 +00:00
parent f312634c02
commit d89a855e73
2 changed files with 6 additions and 1 deletions

View 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> 2004-12-28 Christopher Faylor <cgf@timesys.com>
* pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the * pinfo.cc (_pinfo::dup_proc_pipe): DUPLICATE_CLOSE_SOURCE closes the

View File

@ -144,7 +144,7 @@ struct device
void tty_to_real_device (); void tty_to_real_device ();
inline operator int () const {return devn;} inline operator int () const {return devn;}
inline void setfs (bool x) {dev_on_fs = x;} 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; extern const device *console_dev;