* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave): Revert
previous change since unit 0 is perfectly valid.
This commit is contained in:
parent
e75cc8b1d0
commit
0fdbb2d0cd
@ -1,3 +1,8 @@
|
|||||||
|
2011-06-13 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave):
|
||||||
|
Revert previous change since unit 0 is perfectly valid.
|
||||||
|
|
||||||
2011-06-12 Christopher Faylor <me.cygwin2011@cgf.cx>
|
2011-06-12 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
Rename FH_BAD to FH_NADA throughout.
|
Rename FH_BAD to FH_NADA throughout.
|
||||||
|
@ -472,7 +472,7 @@ process_ioctl (void *)
|
|||||||
fhandler_tty_slave::fhandler_tty_slave (int unit)
|
fhandler_tty_slave::fhandler_tty_slave (int unit)
|
||||||
: fhandler_tty_common (), inuse (NULL)
|
: fhandler_tty_common (), inuse (NULL)
|
||||||
{
|
{
|
||||||
if (unit > 0)
|
if (unit >= 0)
|
||||||
dev ().parse (DEV_TTYS_MAJOR, unit);
|
dev ().parse (DEV_TTYS_MAJOR, unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user