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>2001-03-17 08:11:20 +0300
committerChristopher Faylor <me@cgf.cx>2001-03-17 08:11:20 +0300
commitdb15b3e359ca8ea26e04cb53080f1bae9360e2f5 (patch)
tree8569f74d1932282272b12d0e0403c87cdca579f4 /winsup/cygwin/syscalls.cc
parent5bb22c6b1de55f507460a1ac8b2a0c39b9245cf0 (diff)
Accomodate all devices.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 141a19883..8bad5f6ed 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1010,8 +1010,7 @@ stat_dev (DWORD devn, int unit, unsigned long ino, struct stat *buf)
case FH_PIPER:
buf->st_mode = STD_RBITS;
break;
- case FH_CONIN:
- case FH_CONOUT:
+ default:
buf->st_mode = STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
break;
}