Artifacts Associated With Ticket 91092e1fb5add277
Ticket change [8012755d05] (rid 149301) by chpock on 2016-10-28 10:22:32:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
'registry get' command cuts list of strings of multi_sz value just after first empty string in the list. Test case: % registry set "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager" TEST [list foo bar baz bla] multi_sz % registry get "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager" TEST foo bar baz bla % registry set "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager" TEST [list foo bar "" baz bla] multi_sz % registry get "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager" TEST foo bar %
- foundin initialized to: "8.6.5"
- is_private initialized to: "0"
- login: "chpock"
- priority initialized to: "5 Medium"
- private_contact initialized to: "fb0bef387a3d333f7502b23b2ca5bd198a1d1f87"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chpock"
- subsystem initialized to: "32. registry Package"
- title initialized to:
registry package fail to get list of string of multi_sz type with empty string
- type initialized to: "Bug"
Ticket change [10f7ecb5ce] (rid 149302) by jan.nijtmans on 2016-10-28 11:09:09:
- assignee changed to: "jan.nijtmans"
- icomment:
See: [https://msdn.microsoft.com/en-us/library/ff638335.aspx] So, the multi_sz type is defined by Windows as being terminated by an empty string. I don't have any idea how Tcl could possibly work around that, it's simply the way multi_sz works in Windows. Just as a terminating NULL character ends a C-string, there is no way to embed a NULL character in a C-string.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [d9b1608040] (rid 258120) by serhiy.storchaka on 2026-10-15 11:29:04:
- icomment: "Closing: answered above."
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [ee42f54bd5] (rid 259924) by serhiy.storchaka on 2026-10-22 17:19:26:
- closedate changed to: "2461328.97853"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"