Hi,
Watching about kdbRename() it seems this function doesn't change
the key name when operation succeeded.
Example :
key = keyNew("system/sw/test", KEY_SWITCH_END);
kdbRename(handle, key, "system/sw/test-2");
printf("after rename: %s\n", keyStealName(key)); // print
"system/sw/test"
Isn't be more logical to change the name of the key too ? Its
possible to do
that without API change since kdbRename(handle, Key *key, const char
*newName);
so key isn't const.
Moreover, this point should be clarified in documentation.
Voting is open ;-)
Regards,
Yannick.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list