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:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index b74581de2..6efdf7d9e 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -857,8 +857,12 @@ get_devn (const char *name, int &unit)
devn = FH_SERIAL;
unit++;
}
- else if (deveq ("pipe") || deveq ("piper") || deveq ("pipew"))
+ else if (deveq ("pipe"))
devn = FH_PIPE;
+ else if (deveq ("piper"))
+ devn = FH_PIPER;
+ else if (deveq ("pipew"))
+ devn = FH_PIPEW;
else if (deveq ("tcp") || deveq ("udp") || deveq ("streamsocket")
|| deveq ("dgsocket"))
devn = FH_SOCKET;