Skip to content

R-alpha: R-0.49 Patch #1

2 messages · Ross Ihaka, Kurt Hornik

#
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-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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Great, thanks.

I've put updated Debian/ix86 packages into CRAN ...

Btw, perhaps the patch should be sent to R-announce?  (The bug reports
came on R-help ...)

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-