dtable.cc (build_fh_pc): serial port handling
Brian Ford
ford@vss.fsi.com
Wed Nov 12 00:25:00 GMT 2003
Here is one I think I do understand.
2003-11-11 Brian Ford <ford@vss.fsi.com>
* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all
serial ports.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
-------------- next part --------------
Index: dtable.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/dtable.cc,v
retrieving revision 1.119
diff -u -p -r1.119 dtable.cc
--- dtable.cc 1 Oct 2003 12:36:39 -0000 1.119
+++ dtable.cc 12 Nov 2003 00:25:16 -0000
@@ -339,6 +339,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)
{
@@ -355,9 +358,6 @@ build_fh_pc (path_conv& pc)
break;
case FH_WINDOWS:
fh = cnew (fhandler_windows) ();
- break;
- case FH_SERIAL:
- fh = cnew (fhandler_serial) ();
break;
case FH_FIFO:
fh = cnew (fhandler_fifo) ();
More information about the Cygwin-patches
mailing list