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.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index cbd6e5493..63a8efde8 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -431,6 +431,7 @@ const char *windows_device_names[] =
"\\dev\\zero",
"\\dev\\%srandom",
"\\dev\\mem",
+ "\\dev\\clipboard",
};
static int
@@ -505,6 +506,8 @@ get_device_number (const char *name, int &unit, BOOL from_conv)
devn = FH_MEM;
unit = 1;
}
+ else if (deveq ("clipboard"))
+ devn = FH_CLIPBOARD;
else if (deveq ("port"))
{
devn = FH_MEM;