Commit Graph

8 Commits

Author SHA1 Message Date
Corinna Vinschen 4c61c04cd3 * regtool.cc (find_key): Handle keys with only one subkey. 2001-07-15 11:27:23 +00:00
Christopher Faylor 288f125efd * regtool.cc (find_key): Revert previous change. 2001-06-28 02:46:11 +00:00
Christopher Faylor c135faa8b3 * regtool.cc (find_key): Allow '/' as a synonym for '\\'. 2001-06-27 17:38:40 +00:00
Christopher Faylor 37770e0009 * regtool.cc (cmd_list): Add new registry display options.
(cmd_list): Add code to implement -p, -k, and -l options.
* regtool.cc (Fail): Add call to LocalFree to free memory allocated by
FormatMessage.
2001-01-10 22:34:02 +00:00
Christopher Faylor 7adad1217b more formatting changes. 2001-01-10 15:22:40 +00:00
Christopher Faylor b82a7a5e35 * regtool.cc (translate): Ensure that 'c' is initialized.
(cmd_set): Ditto for rv.
2001-01-10 14:20:16 +00:00
Corinna Vinschen a4bc548973 * regtool.cc (find_key): Add parameter `access'.
Call `RegOpenKeyEx' with that desired access.
        (cmd_add, cmd_remove, cmd_set, cmd_unset): Call
        `find_key' with KEY_ALL_ACCESS access.
        (cmd_list, cmd_check, cmd_get): Call `find_key'
        with KEY_READ access.
2000-05-19 22:02:23 +00:00
Christopher Faylor 1fd5e000ac import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00