This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [UNPATCH]Slashes in regtool.exe


On Wed, Jun 27, 2001 at 07:39:24PM -0700, Michael A. Chase wrote:
>The change is unnecessary.  Corrina added the capability in January 2000.  I
>have confirmed this behavior with the version of regtool.exe that is part of
>1.3.2.  Part of the confusion may be because the leading '\\' is not
>required if '\\' separators are being used; it probably ought to be.
>Perhaps the examples in usage_msg[] could show both types of separators.
>
>If the first character of the key is '/' (see two lines before patch),
>translate() is called to convert '/'s to '\\'s so the user doesn't have to
>dirty his hands with '\\'  _unless_ she wants to use a key part that
>contains '/'.  If any part of the key contains '/', you don't want
>translate() to get its mitts on the string so the first character may not be
>'/'.
>
>Other note:
>
>The help screen says "-p" causes '/' to be appended to key names, but it
>actually appends '\\'.  I still can't send patches since my assignment isn't
>done yet, but you might want to fix this when you reverse the patch.

Ok.  I've reverted the patch and fixed the documentation.

Thanks for checking this.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]