R-beta: Re: R-0.49 -- '1 bit' patch for postscript bug

Martin Maechler maechler at stat.math.ethz.ch
Thu Apr 24 14:46:28 CEST 1997


Since it is now deep night in NZ, and the two R&R's did not yet send it to
this list :

!!>>	The postscript bug mentioned in 0.49 has a "1 bit" patch:

Replace '0' by '1' in one place of the source and recompile, i.e.,
type 'make' again in  $RHOME, i.e. the directory which should end in .../R-0.49

>> Date: Thu, 24 Apr 1997 21:35:41 +1200 (NZST)
>> From: Ross Ihaka <ihaka at stat.auckland.ac.nz>
>> To: r-devel at stat.math.ethz.ch
>> Subject: R-alpha: R-0.49 Patch #1
>> Sender: owner-r-devel at stat.math.ethz.ch
>> 
>> This patch corrects the broken postscript graphics driver.
>> If you have already done it by hand ignore this.
>> 
>> Apply this patch within the R-0.49 directory.
>> 
>> The patch is also at the auckland.ftp site and soon at mirrors.
>> 	Ross


*** src/unix/PostScript.c.orig	Thu Apr 24 21:28:27 1997
--- src/unix//PostScript.c	Thu Apr 24 21:28:51 1997
***************
*** 160,166 ****
  	if(!MatchKey(buf, "C ")) return 0;
  	p = SkipToNextItem(p);
  	sscanf(p, "%d", &nchar);
! 	if(nchar < 0) return 0;
  	p = SkipToNextKey(p);
  
  	if(!MatchKey(p, "WX")) return 0;
--- 160,166 ----
  	if(!MatchKey(buf, "C ")) return 0;
  	p = SkipToNextItem(p);
  	sscanf(p, "%d", &nchar);
! 	if(nchar < 0) return 1;
  	p = SkipToNextKey(p);
  
  	if(!MatchKey(p, "WX")) return 0;
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help 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-help-request at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the R-help mailing list