aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.cc
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 b74581d..6efdf7d 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;