From p.murrell at auckland.ac.nz  Thu Jan 28 21:27:55 2010
From: p.murrell at auckland.ac.nz (Paul Murrell)
Date: Fri, 29 Jan 2010 09:27:55 +1300
Subject: [Rd] src/library/grid/src/grid.c (PR#14199)
In-Reply-To: <4B61ABEE.1000805@biostat.ku.dk>
References: <20100128115509.C88CB2831FEC@mail.pubhealth.ku.dk>
	<4B61ABEE.1000805@biostat.ku.dk>
Message-ID: <4B61F34B.8050802@auckland.ac.nz>

Hi

This is fixed in r-devel (revision 51061).
Thanks for the report!

Paul


Peter Dalgaard wrote:
> A.R.Runnalls at kent.ac.uk wrote:
>> At around line 2590, in function gridRect() in
>> src/library/grid/src/grid.c (at the latest svn revision, 50745), ought
>> not temp, www and hhh to be PROTECTed within this block?
> 
> Plausible, provided that anything can allocate while those are being
> used. Could you perhaps investigate that a little further? (Bug reports
> should really contains exclamation points and not question marks...)
> 
> 
> If unit() can allocate, then all constructs like
> 
> 2565                 www = unit(xadj, L_INCHES);
> 2566                 hhh = unit(yadj, L_INCHES);
> 
> are equally dubious.
> 
> 
> Oh, never mind, unit() definitely allocates, so of course you are right!
> 

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/



[Rd] src/library/grid/src/grid.c (PR#14199)
Paul Murrell