R-alpha: R-0.49 Patch #1
Ross Ihaka
ihaka@stat.auckland.ac.nz
Thu, 24 Apr 1997 21:35:41 +1200 (NZST)
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-