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:
authorCorinna Vinschen <corinna@vinschen.de>2008-12-02 14:44:58 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-12-02 14:44:58 +0300
commit1a3e844b434f21462a1ac1f1f854a7d18d1bf902 (patch)
tree25d8fb062e476508158c4d985ad600facddfda84 /winsup/cygwin/fhandler_registry.cc
parent651d8393c8083a255f2a36f45f2f813146cf98c4 (diff)
* fhandler_registry.cc (must_encode): Fix condition changed for testing.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r--winsup/cygwin/fhandler_registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc
index f77e85c4d..ce4335fd9 100644
--- a/winsup/cygwin/fhandler_registry.cc
+++ b/winsup/cygwin/fhandler_registry.cc
@@ -85,7 +85,7 @@ static HKEY open_key (const char *name, REGSAM access, DWORD wow64, bool isValue
static inline bool
must_encode (char c)
{
- return (isdirsep (c) || c == '%');
+ return (isdirsep (c) || c == ':' || c == '%');
}
/* Encode special chars in registry key or value name.