]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave): Revert
authorChristopher Faylor <me@cgf.cx>
Mon, 13 Jun 2011 23:49:00 +0000 (23:49 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 13 Jun 2011 23:49:00 +0000 (23:49 +0000)
previous change since unit 0 is perfectly valid.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_tty.cc

index 6b01b5c24ea0ce1ffca8edb5e22f6d1203fedc13..c2486bbcef0c63b5078855572afa2135817b9adc 100644 (file)
@@ -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>
 
        Rename FH_BAD to FH_NADA throughout.
index 821d6e94e20138250d19c29a5edb100f709135da..0800cd9368da50f111c46079b156a3fe41daa59d 100644 (file)
@@ -472,7 +472,7 @@ process_ioctl (void *)
 fhandler_tty_slave::fhandler_tty_slave (int unit)
   : fhandler_tty_common (), inuse (NULL)
 {
-  if (unit > 0)
+  if (unit >= 0)
     dev ().parse (DEV_TTYS_MAJOR, unit);
 }
 
This page took 0.034932 seconds and 5 git commands to generate.