[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #21061] Inserting a variable confuses the dictionary on s
From: |
John Darrington |
Subject: |
PSPP-BUG: [bug #21061] Inserting a variable confuses the dictionary on save. |
Date: |
Thu, 13 Sep 2007 07:26:04 +0000 |
User-agent: |
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
and translator.
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
dict_delete_var
Perhaps there's a better solution.
(file #13933)
_______________________________________________________
Additional Item Attachment:
File name: patch Size:5 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21061>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/