diff options
author | Christopher Faylor <me@cgf.cx> | 2003-11-14 01:37:23 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-11-14 01:37:23 +0000 |
commit | 22ec16a830a3c400ff6b41cbc09f41cfbca2f2ea (patch) | |
tree | 76593d1703fd70d3fbf94507d770b258624963b1 | |
parent | d15d293f97245ac273a32d2067c06aeca53ccae3 (diff) | |
download | cygnal-22ec16a830a3c400ff6b41cbc09f41cfbca2f2ea.tar.gz cygnal-22ec16a830a3c400ff6b41cbc09f41cfbca2f2ea.tar.bz2 cygnal-22ec16a830a3c400ff6b41cbc09f41cfbca2f2ea.zip |
* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.
Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/dtable.cc | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4736150e1..71aa9d5a4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2003-11-12 Brian Ford <ford@vss.fsi.com> + + * dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial + ports. Remove redundant FH_CYGDRIVE case since it is handled by + DEV_CYGDRIVE_MAJOR. + 2003-11-11 Christopher Faylor <cgf@redhat.com> Thomas Pfaff <tpfaff@gmx.net> diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index f2fefd8e3..630b93bab 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -328,9 +328,6 @@ build_fh_pc (path_conv& pc) case DEV_TTYM_MAJOR: fh = cnew (fhandler_tty_master) (); break; - case DEV_CYGDRIVE_MAJOR: - fh = cnew (fhandler_cygdrive) (); - break; case DEV_FLOPPY_MAJOR: case DEV_CDROM_MAJOR: case DEV_SD_MAJOR: @@ -339,6 +336,9 @@ build_fh_pc (path_conv& pc) case DEV_TAPE_MAJOR: fh = cnew (fhandler_dev_tape) (); break; + case DEV_SERIAL_MAJOR: + fh = cnew (fhandler_serial) (); + break; default: switch (pc.dev) { @@ -347,18 +347,12 @@ build_fh_pc (path_conv& pc) case FH_CONOUT: fh = cnew (fhandler_console) (); break; - case FH_CYGDRIVE: - fh = cnew (fhandler_cygdrive) (); - break; case FH_PTYM: fh = cnew (fhandler_pty_master) (); break; case FH_WINDOWS: fh = cnew (fhandler_windows) (); break; - case FH_SERIAL: - fh = cnew (fhandler_serial) (); - break; case FH_FIFO: fh = cnew (fhandler_fifo) (); break; |