This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
managed mounts and "
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 4 Jan 2006 16:09:03 +0000 (UTC)
- Subject: managed mounts and "
I found it annoying that managed mounts can handle non-printing
characters, but not several of the remaining Windows' forbidden
characters, such as double quotes.
$ cd managed
$ touch `printf '\a'`
$ touch `printf '"'`
touch: cannot touch `"': No such file or directory
2006-01-04 Eric Blake <ebb9@byu.net>
* path.cc (dot_special_chars): Add ", <, >, and |.
Index: path.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/path.cc,v
retrieving revision 1.398
diff -u -r1.398 path.cc
--- path.cc 27 Dec 2005 18:10:49 -0000 1.398
+++ path.cc 4 Jan 2006 15:58:41 -0000
@@ -1,6 +1,6 @@
/* path.cc: path support.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red
Hat, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Red Hat, Inc.
This file is part of Cygwin.
@@ -1331,6 +1331,7 @@
"\021" "\022" "\023" "\024" "\025" "\026" "\027" "\030"
"\031" "\032" "\033" "\034" "\035" "\036" "\037"
":" "\\" "*" "?" "%"
+ "\"" "<" ">" "|"
"A" "B" "C" "D" "E" "F" "G" "H"
"I" "J" "K" "L" "M" "N" "O" "P"
"Q" "R" "S" "T" "U" "V" "W" "X"
--
Eric Blake