From 1a3e844b434f21462a1ac1f1f854a7d18d1bf902 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 2 Dec 2008 11:44:58 +0000 Subject: * fhandler_registry.cc (must_encode): Fix condition changed for testing. --- winsup/cygwin/fhandler_registry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_registry.cc') 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. -- cgit v1.2.3