From p.dalgaard@biostat.ku.dk  Tue Jul 17 16:48:02 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 17 Jul 2001 17:48:02 +0200
Subject: [Rd] read.spss, R 1.3.0, win2k
In-Reply-To: Prof Brian D Ripley's message of "Tue, 17 Jul 2001 13:54:05 +0100 (GMT Daylight Time)"
References: <Pine.WNT.4.31.0107171341100.1420-100000@gannet>
Message-ID: <x2n1635zgt.fsf@blueberry.kubism.ku.dk>

Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:

> I've found the problem.  The read.spss code was free-ing not Free-ing
> memory allocated by Calloc.  On most platforms that would work, but not on
> Windows where Calloc/Free and calloc/free use separate memory managers.

Odd. The opposite problem (using calloc/Free) did give segfaults
on Linux.... (That's what caused the trouble when the .sav file had
illegal characters in variable names.)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] read.spss, R 1.3.0, win2k
Peter Dalgaard BSA