diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-12-02 11:44:58 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-12-02 11:44:58 +0000 |
commit | 1a3e844b434f21462a1ac1f1f854a7d18d1bf902 (patch) | |
tree | 25d8fb062e476508158c4d985ad600facddfda84 /winsup | |
parent | 651d8393c8083a255f2a36f45f2f813146cf98c4 (diff) | |
download | newlib-1a3e844b434f21462a1ac1f1f854a7d18d1bf902.zip newlib-1a3e844b434f21462a1ac1f1f854a7d18d1bf902.tar.gz newlib-1a3e844b434f21462a1ac1f1f854a7d18d1bf902.tar.bz2 |
* fhandler_registry.cc (must_encode): Fix condition changed for testing.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_registry.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b2bcae7..4f3b308 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-12-02 Corinna Vinschen <corinna@vinschen.de> + + * fhandler_registry.cc (must_encode): Fix condition changed for testing. + 2008-12-01 Christian Franke <franke@computer.org> * fhandler_registry.cc (must_encode): New function. diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index f77e85c..ce4335f 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. |