[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #21061] Inserting a variable confuses the dictionary on s
PSPP-BUG: [bug #21061] Inserting a variable confuses the dictionary on save.
Thu, 13 Sep 2007 07:26:04 +0000
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2
Follow-up Comment #2, bug #21061 (project pspp):
I had a look at this. parse_write_command ( in get.c ) recognises this as a
potential problem, and correctly tries to handle it by setting up a case_map
The problem is that first it calls dict_clone. Unfortunately dict_clone
doesn't preserve case indices. Consequently, the case_map is all wrong.
I hacked up this patch, which changes dict_clone to preserve the
case_indices. It fixes the problem, but causes 4 other tests to assert in
Perhaps there's a better solution.
Additional Item Attachment:
File name: patch Size:5 KB
Reply to this item at:
Message sent via/by Savannah