search for: r_opensysinitfil

Displaying 2 results from an estimated 2 matches for "r_opensysinitfil".

Did you mean: r_opensysinitfile
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
...56]; + char buf[PATH_MAX]; FILE *fp; - snprintf(buf, 256, "%s/library/base/R/%s", R_Home, file); + snprintf(buf, PATH_MAX, "%s/library/base/R/%s", R_Home, file); fp = R_fopen(buf, "r"); return fp; } @@ -71,10 +71,10 @@ attribute_hidden FILE *R_OpenSysInitFile(void) { - char buf[256]; + char buf[PATH_MAX]; FILE *fp; - snprintf(buf, 256, "%s/library/base/R/Rprofile", R_Home); + snprintf(buf, PATH_MAX, "%s/library/base/R/Rprofile", R_Home); fp = R_fopen(buf, "r"); return fp; } @@ -82,7 +82,7 @@...
1999 Aug 03
2
compliation problem
Problem compiling R. version: 0.64.2 machine: SGI O2 OS: IRIX6.5 CC cc FC f77 MAKE GNU make 3.75 Here is part of the the output for make. make[2]: Leaving directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/include' make[2]: Entering directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/appl' cc -g -OPT:IEEE_NaN_inf=ON -I../include