src/winsup/utils ChangeLog regtool.cc

2015-02-03 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2015-02-03 15:14:57

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (longopts): Add --force option.
(opts): Add -f option.
(restore_flags): New variable.
(usage): Clarify working of save action.  Add restore action.  Add
description for -f/--force option.
(set_privilege): Drop function.  The Cygwin DLL is doing that anyway.
(cmd_save): Drop call to set_privilege.
(cmd_restore): New function.
(main): Handle -f/--force option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.650r2=1.651
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.36r2=1.37



src/winsup/utils ChangeLog regtool.cc

2011-03-30 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-03-30 08:22:59

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (cmd_set): Avoid a compiler warning.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.549r2=1.550
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.31r2=1.32



winsup/utils ChangeLog regtool.cc

2010-10-30 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2010-10-31 01:41:19

Modified files:
utils  : ChangeLog regtool.cc 

Log message:
* regtool.c (cmd_set): Write correct number of bytes for REG_MULTI_SZ 
case.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.542r2=1.543
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/regtool.cc.diff?cvsroot=uberbaumr1=1.30r2=1.31



src/winsup/utils ChangeLog regtool.cc

2010-03-24 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2010-03-24 19:52:00

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (find_key): Fix allocation size of value.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.524r2=1.525
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.28r2=1.29



src/winsup/utils ChangeLog regtool.cc utils.sgml

2009-12-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-12-16 14:02:58

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc: Throughout, convert all registry calls to wide char
calls and use string conversion according to current locale.
(longopts): Change dword-le to dword-be, as was originally
intended.
(usage): Change usage accordingly.
(print_version): Simplify copyright dates in output.
(cmd_list): Handle REG_LINK like REG_SZ.
(cmd_get): Ditto.
(main): Call setlocale.
* utils.sgml (regtool): Fix options and add missing descriptions for
new features.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.499r2=1.500
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.27r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.80r2=1.81



src/winsup/utils ChangeLog regtool.cc

2007-12-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-12-07 09:37:47

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (opts): Add missing 'W'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.387r2=1.388
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.24r2=1.25



src/winsup/utils ChangeLog regtool.cc utils.sgml

2007-12-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2007-12-07 09:40:33

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Define conditionally.
(KEY_WOW64_32KEY): Ditto.
(opts): Add missing 'W'.

* regtool.cc (key_type): Drop.
(REG_AUTO): Define.
(value_type): Replace key_type.  Use REG_xxx values directly.
Accomodate change throughout.
(longopts): Add --dword, --dword-le, --none, --qword and --hex options.
(opts): Add -d, -D, -n, -Q and -x options.
(types): Array to convert REG_xxx into strings.
(hex): New variable to keep value of --hex option.
(usage): Accomodate new options.  Print only the necessary by default.
Only be verbose in case of -h/--help option.
(cmd_list): Use key separator from -K option when printing.
Print value type when verbose option is given.  Handle so far not
handled REG_xxx types.
(cmd_set): Avoid SEGV due to missing argument.  Handle so far not
handled REG_xxx types.
(cmd_get): Handle --binary option type agnostic.  Handle so far not
handled REG_xxx types.
(main): Handle new options.

* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

* regtool.cc (KEY_WOW64_64KEY): Define.
(longopts): Add --wow64 option.
(opts): Add -w option.
(wow64): New variable to control usage of KEY_WOW64_64KEY access flag.
(usage): Add text for --wow64/-w option.
(print_version): Fix copyright.
(find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx.
(cmd_add): Use wow64 value in call to RegCreateKeyEx.
(regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function
dynamically.
(cmd_remove): Load and use regDeleteKeyEx when wow64 is set.
(main): Handle --wow64/-w option.
* utils.sgml: Document the new -w option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.356.4.1r2=1.356.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.20r2=1.20.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.59r2=1.59.4.1



src/winsup/utils ChangeLog regtool.cc

2006-10-21 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-21 17:19:29

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (key_type): Drop.
(REG_AUTO): Define.
(value_type): Replace key_type.  Use REG_xxx values directly.
Accomodate change throughout.
(longopts): Add --dword, --dword-le, --none, --qword and --hex options.
(opts): Add -d, -D, -n, -Q and -x options.
(types): Array to convert REG_xxx into strings.
(hex): New variable to keep value of --hex option.
(usage): Accomodate new options.  Print only the necessary by default.
Only be verbose in case of -h/--help option.
(cmd_list): Use key separator from -K option when printing.
Print value type when verbose option is given.  Handle so far not
handled REG_xxx types.
(cmd_set): Avoid SEGV due to missing argument.  Handle so far not
handled REG_xxx types.
(cmd_get): Handle --binary option type agnostic.  Handle so far not
handled REG_xxx types.
(main): Handle new options.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.365r2=1.366
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.23r2=1.24



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-10-19 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-19 09:08:44

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.364r2=1.365
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.22r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.60r2=1.61



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 18:00:07

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Define.
(longopts): Add --wow64 option.
(opts): Add -w option.
(wow64): New variable to control usage of KEY_WOW64_64KEY access flag.
(usage): Add text for --wow64/-w option.
(print_version): Fix copyright.
(find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx.
(cmd_add): Use wow64 value in call to RegCreateKeyEx.
(regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function
dynamically.
(cmd_remove): Load and use regDeleteKeyEx when wow64 is set.
(main): Handle --wow64/-w option.
* utils.sgml: Document the new -w option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.362r2=1.363
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.20r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.59r2=1.60



src/winsup/utils ChangeLog regtool.cc

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 19:34:27

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.363r2=1.364
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.21r2=1.22



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-03-03 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-03-03 09:43:35

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (options): Add 'binary'.
(usage): Document 'load|unload|save' and '-b'.
(find_key): Add 'options' parameter, add load/unload.
(cmd_set): Add KT_BINARY case.
(cmd_get): Add hex output in KT_BINARY case.
(cmd_load): New function.
(cmd_unload): New function.
(set_privilege): New function.
(cmd_save): New function.
(commands): Add load, unload and save.
(main): Add '-b'
* utils.sgml (regtool): Document it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.352r2=1.353
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.19r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.58r2=1.59



src/winsup/utils ChangeLog regtool.cc

2005-09-08 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2005-09-08 09:24:42

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc: Extend copyright-years.
(print_version): Ditto.
(cmd_list): Don't depend on terminating '\0' being present on
string-values.
(cmd_get): Don't attempt to read more than present, but keep
extra space for terminating '\0'. Really output REG_BINARY.
Don't leak memory.
(cmd_set): Include trailing '\0' in string's length.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.326r2=1.327
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.17r2=1.18



winsup/utils ChangeLog regtool.cc

2005-02-27 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-02-27 17:55:55

Modified files:
utils  : ChangeLog regtool.cc 

Log message:
* regtool.cc (opts): The argument to 'K' is not optional.
(main): Revert previous change.  Just let getopt deal with missing 
argument.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.300r2=1.301
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/regtool.cc.diff?cvsroot=uberbaumr1=1.16r2=1.17



src/winsup/utils ChangeLog regtool.cc

2003-08-15 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-08-15 08:58:54

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (usage): Add missing linefeed.  Move example to --help
text.  Fix forward slash description.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.218r2=1.219
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.13r2=1.14