R-beta: small patch for R-0.61 on SGI Irix 5.3

George White (gwhite@bodnext.bio.dfo.ca)
Wed, 31 Dec 1997 13:04:07 -0400


Date: Wed, 31 Dec 1997 13:04:07 -0400
From: George White <gwhite@bodnext.bio.dfo.ca>
Subject: R-beta: small patch for R-0.61 on SGI Irix 5.3
To: r-help@stat.math.ethz.ch

I built R-0.60.1 using SGI's cc and f77 compilers, but it dumped core
in scan.c: ConsoleGetchar(), so I waited for 0.61.  This had the same
problem, which appears to be fixed by the following patch:

*** scan.c.000	Fri Nov 21 00:06:43 1997
--- scan.c	Wed Dec 31 12:11:05 1997
***************
*** 27,33 ****
  
  static char  ConsoleBuf[CONSOLE_BUFFER_SIZE];
  static char *ConsoleBufp;
! static char  ConsoleBufCnt;
  static char  ConsolePrompt[32];
  
  static void InitConsoleGetchar()
--- 27,33 ----
  
  static char  ConsoleBuf[CONSOLE_BUFFER_SIZE];
  static char *ConsoleBufp;
! static int  ConsoleBufCnt;
  static char  ConsolePrompt[32];
  
  static void InitConsoleGetchar()

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._