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=src&only_with_tag=cr-0x5f1&r1=1.356.4.1&r2=1.356.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.20&r2=1.20.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.59&r2=1.59.4.1

Reply via email to