1.3.17(0.67/3/2): Bug With /proc/registry & / Interpretation...

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Dec 9 13:23:00 GMT 2002


On Mon, 9 Dec 2002, Ken Robson wrote:

> Hi Folks,
>
> I have been using cygwin for some time and have recently being playing with
> the /proc/registry facility.  I have discovered that when I do finds in this
> namespace that if any key names have a "/" in then it is not quoted.  So for
> example:
>
> [snip example and registry data]
>
> I apologise that I do not have sufficient knowledge of cygwin to fix this
> myself.
>
> Thanks for your time and help.
>
> Kind regards,
> Ken.

Ken,

The fact that "/" is a valid character in key/value names in the registry,
but is not a valid character in filenames (in either Windows or Unix)
makes this more of a design issue.  No amount of quoting will let you
create a file with a '/' in its name.

In the meantime, check out /bin/regtool which allows arbitrary characters
in both key and value names (and a -K switch to set a custom separator).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list