bugPSPP - Bugs: bug #12931, ONEWAY transposes output...

 
 

bug #12931: ONEWAY transposes output rows/columns

Submitted by:  Ben Pfaff <blp>
Submitted on:  Mon 02 May 2005 06:28:02 AM UTC  
 
Category: Output DriverSeverity: 7 - Major
Status: NoneAssigned to: John Darrington <jmd>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 03 May 2005 08:28:08 AM UTC, comment #1:

A fix has been checked in to the CVS repository

John Darrington <jmd>
Project AdministratorIn charge of this item.
Mon 02 May 2005 06:28:02 AM UTC, original submission:

The ONEWAY procedure assumes that hash tables happen to iterate in an expected order. If they don't, then output rows or columns are transposed. I changed the hash table implementation and now the tests fail. I am pretty sure that the hash table is correct and that the ONEWAY code needs fixing.

This comment in ONEWAY makes me assume it's a ONEWAY bug:

/* FIXME: Potential danger here.
We're ASSUMING THE array is in the order corresponding to the
hash order. */

Perhaps you could use hsh_sort() or hsh_sort_copy() to help with the solution.

Ben Pfaff <blp>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 03 May 2005 08:29:06 AM UTCjmdOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1