From 296a8a63696031fd4cf7fa9ba74e905e00c56d2d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 23 Feb 2007 14:20:28 +0000 Subject: * devices.in: Change native device name to native NT device name for /dev/null, /dev/comX and /dev/ttySx. * devices.cc: Regenerate. * fhandler.cc (fhandler_base::open_9x): Remove. (fhandler_base::open): Don't test for DOS device name, don't call open_9x. (fhandler_dev_null::open): Remove. * fhandler.h (class fhandler_base): Drop open_9x declaration. (class fhandler_dev_null): Drop open declaration. --- winsup/cygwin/devices.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/devices.in') diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index 22de0c2ee..cbafcf259 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -69,7 +69,7 @@ const device dev_bad_storage = "/dev/dsp", BRACK(FH_OSS_DSP), "\\dev\\dsp" "/dev/conin", BRACK(FH_CONIN), "conin" "/dev/conout", BRACK(FH_CONOUT), "conout" -"/dev/null", BRACK(FH_NULL), "nul" +"/dev/null", BRACK(FH_NULL), "\\Device\\Null" "/dev/zero", BRACK(FH_ZERO), "\\dev\\zero" "/dev/full", BRACK(FH_FULL), "\\dev\\full" "/dev/random", BRACK(FH_RANDOM), "\\dev\\random" @@ -78,8 +78,8 @@ const device dev_bad_storage = "/dev/kmem", BRACK(FH_KMEM), "\\dev\\mem" "/dev/clipboard", BRACK(FH_CLIPBOARD), "\\dev\\clipboard" "/dev/port", BRACK(FH_PORT), "\\dev\\port" -"/dev/com%(1-16)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1})), "\\\\.\\com{$1}" -"/dev/ttyS%(0-63)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1 + 1})), "\\\\.\\com{$1 + 1}" +"/dev/com%(1-16)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1 - 1})), "\\Device\\Serial{$1 - 1}" +"/dev/ttyS%(0-63)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1})), "\\Device\\Serial{$1}" "/dev/pipe", BRACK(FH_PIPE), "\\dev\\pipe" "/dev/fifo", BRACK(FH_FIFO), "\\dev\\fifo" "/dev/st%(0-127)d", BRACK(FHDEV(DEV_TAPE_MAJOR, {$1})), "\\Device\\Tape{$1}" -- cgit v1.2.3