This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [Patch] Encode invalid chars in /proc/registry entries (merge from 1.5)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 2 Dec 2008 12:46:15 +0100
- Subject: Re: [Patch] Encode invalid chars in /proc/registry entries (merge from 1.5)
- References: <493439BA.8@t-online.de>
- Reply-to: cygwin-patches at cygwin dot com
On Dec 1 20:23, Christian Franke wrote:
> This is a 1.5->1.7 merge of my patch from
> http://sourceware.org/ml/cygwin-patches/2007-q4/msg00017.html
>
> Christian
>
>
> 2008-12-01 Christian Franke <franke@computer.org>
>
> * fhandler_registry.cc (must_encode): New function.
> (encode_regname): Ditto.
> (decode_regname): Ditto.
> (fhandler_registry::exists): Encode name before path compare.
> (fhandler_registry::fstat): Pass decoded name to win32 registry call.
> (fhandler_registry::readdir): Return encoded name to user.
> (fhandler_registry::open): Store decoded name into value_name.
> (open_key): Pass decoded name to win32 registry call
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat