[Patch] Encode invalid chars in /proc/registry entries (merge from 1.5)

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Dec 2 11:46:00 GMT 2008

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.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-patches mailing list