From 2bae7a19e474ae540c5442efe5f4db2409f35c45 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 29 May 2008 17:08:45 +0000 Subject: * devices.in: Change mapping for /dev/ttyS* and /dev/com*. --- winsup/cygwin/devices.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/devices.in') diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index 9c44fbc1e..a68701d59 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -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 - 1})), "\\Device\\Serial{$1 - 1}" -"/dev/ttyS%(0-63)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1})), "\\Device\\Serial{$1}" +"/dev/com%(1-16)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1 - 1})), "\\??\\COM{$1}" +"/dev/ttyS%(0-63)d", BRACK(FHDEV(DEV_SERIAL_MAJOR, {$1})), "\\Global??\\COM{$1 + 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