Overview
| Artifact ID: | 0976c3da3b4f5755b41655f51f41c7721ab68cc5 |
|---|---|
| Ticket: | 3362446fffffffffffffffffffffffffffffffff
registry keys command fails with 8.5/8.6 |
| User & Date: | apnadkarni on 2011-07-11 18:46:09 |
Changes
- icomment:
I won't get a hold of the failing machine again until tomorrow so I will try it then. Also, winReg_v2.diff does not handle the race condition when one of the keys is deleted. In this case, the command currently simply fails, whereas it should return a valid key list (either including or exculding the deleted key). It is akin to [glob] failing because someone deleted a file at the same time. Personal opinion, after making changes similar to yours, and then adding the handling of ERROR_NO_MORE_ITEMS to avoid the race, I thought it cleaner to rewrite the function, although I do understand the philosophy behind minimizing changes. Also, Tcl does MAX_PATH stack allocations in many places so a stack var of 257 saves unnecessary allocations. It's of course your call! I'll let you know tomorrow once I get hold of the failing system. I don't see why it would not work /Ashok
- login: "apnadkarni"
- mimetype: "text/plain"
- username: "apnadkarni"