mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* regtool.cc (find_key): Handle keys with only one subkey.
This commit is contained in:
parent
fc901253d1
commit
4c61c04cd3
@ -1,3 +1,7 @@
|
||||
2001-07-14 Chris Genly <chgenly@alum.mit.edu>
|
||||
|
||||
* regtool.cc (find_key): Handle keys with only one subkey.
|
||||
|
||||
Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* regtool.cc (find_key): Revert previous change.
|
||||
|
@ -221,11 +221,15 @@ find_key (int howmanyparts, REGSAM access)
|
||||
e--;
|
||||
if (*e != '\\')
|
||||
{
|
||||
fprintf (stderr, "Invalid key\n");
|
||||
exit (1);
|
||||
key = wkprefixes[i].key;
|
||||
value = n;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
*e = 0;
|
||||
value = e + 1;
|
||||
}
|
||||
*e = 0;
|
||||
value = e + 1;
|
||||
}
|
||||
if (n[0] == 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user