[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

R: R: R: PSPP-BUG: bug report

From: Gay
Subject: R: R: R: PSPP-BUG: bug report
Date: Tue, 20 Nov 2007 08:35:53 +0100

Sorry to have to report another problem...
I get the following message:

data list file='data11050.dat'/var01 1-11050 (A).
save outfile='data11050.sav'.
get file='data11050.sav'.
> warning: "data11050.sav" near offset 0xb2a5: Duplicate long variable name 
> `var01' within system file. 


Guido Gay
Responsabile di progetto 

IReR - Istituto Regionale di Ricerca della Lombardia
Via Copernico, 38 20125 Milano

e.mail address@hidden

Confidentiality Notice

Il presente messaggio, e ogni eventuale documento a questo allegato,potrebbe
contenere informazioni da considerarsi strettamente riservate ad esclusivo
utilizzo del destinatario in indirizzo, il quale e' l'unico autorizzato ad
usarlo, copiarlo e, sotto la propria responsabilità, diffonderlo. Chiunque
ricevesse questo messaggio per errore o comunque lo leggesse senza esserne
legittimato e' avvertito che trattenerlo, copiarlo, divulgarlo, distribuirlo
a persone diverse dal destinatario e' severamente proibito ed e' pregato di
darne notizia immediatamente al mittente oltre che cancellare il messaggio e
i suoi eventuali allegati dal proprio sistema. Le opinioni espresse nel
messaggio sono quelle proprie del mittente, se non diversamente e
specificatamente dichiarato dal mittente stesso.

This message, and any attached file transmitted with it, contains
information that may be confidential or privileged for the sole use of the
intended recipient who only may use, copy and, under his responsibility,
further disseminate it. If you are not the intended recipient  of this
e-mail or read it without entitlement be advised that keeping, copying,
disseminating or distributing this message to persons other than the
intended recipient is strictly forbidden. You are to notify immediately to
the sender and to delete this message and any file attached from your
system. Any views expressed in this message are those of the individual
sender, except where the sender specifically states otherwise.

-----Messaggio originale-----
Da: Ben Pfaff [mailto:address@hidden 
Inviato: lunedì 19 novembre 2007 2.09
A: Gay
Cc: address@hidden
Oggetto: Re: R: R: PSPP-BUG: bug report

"Gay" <address@hidden> writes:

> I migth have found a "bug" in pspp.
> As you may see in  pspp.log,  pspp reads and writes "provaLunga.sav"
> correctly but doesn't write "grade5.sav" correctly.
> They both are SPSS Windows 13 Sav files.
> Pspp is run on a linux slackware 12 personal computer.

Thank you for reporting this bug.  I have confirmed it and devised a fix.
The fix has been checked into the PSPP CVS tree already.  Here it is, if you
wish to apply it to your source tree without using CVS directly:

diff -u -p -r1.37 sys-file-writer.c
--- src/data/sys-file-writer.c  11 Nov 2007 05:51:41 -0000      1.37
+++ src/data/sys-file-writer.c  19 Nov 2007 01:05:37 -0000
@@ -421,7 +421,7 @@ write_variable (struct sfm_writer *w, co
   /* Number of missing values.  If there is a range, then the
      range counts as 2 missing values and causes the number to be
      negated. */
-  write_int (w, mv_has_range (mv) ? 2 - mv_n_values (mv) : mv_n_values
+  write_int (w, mv_has_range (mv) ? -2 - mv_n_values (mv) : mv_n_values 
+ (mv));
   /* Print and write formats. */
   write_format (w, *var_get_print_format (v), seg0_width);

"I admire him, I frankly confess it; and when his time comes  I shall buy a
piece of the rope for a keepsake."
--Mark Twain

Attachment: pspp.list
Description: Binary data

Attachment: data11050.dat
Description: Binary data

Attachment: data11050.sav
Description: Binary data

Attachment: pspp.jnl
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]