Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-12-01 18:00:40 +0300
committerChristopher Faylor <me@cgf.cx>2004-12-01 18:00:40 +0300
commit576bfeeca89345b9c7cf0847b1565c1505dab32f (patch)
tree914eee054e7d4584632288e28f2a51462912ee06 /winsup/cygwin/devices.in
parentee58ee4a2852dc2794be4c86f449ce9b3f8a67f1 (diff)
* syscalls.cc (truncate64): Don't second-guess errno if open fails.
Diffstat (limited to 'winsup/cygwin/devices.in')
-rw-r--r--winsup/cygwin/devices.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in
index 1bcb73bc7..cc6040e8c 100644
--- a/winsup/cygwin/devices.in
+++ b/winsup/cygwin/devices.in
@@ -65,7 +65,7 @@ const device dev_bad_storage =
"/dev/kmem", FH_KMEM, "\\dev\\mem"
"/dev/clipboard", FH_CLIPBOARD, "\\dev\\clipboard"
"/dev/port", FH_PORT, "\\dev\\port"
-"/dev/com%(0-16)d", FHDEV(DEV_SERIAL_MAJOR, {$1}), "\\\\.\\com{$1}"
+"/dev/com%(1-16)d", FHDEV(DEV_SERIAL_MAJOR, {$1}), "\\\\.\\com{$1}"
"/dev/ttyS%(0-15)d", FHDEV(DEV_SERIAL_MAJOR, {$1 + 1}), "\\\\.\\com{$1 + 1}"
"/dev/pipe", FH_PIPE, "\\dev\\pipe"
"/dev/fifo", FH_FIFO, "\\dev\\fifo"