[Rd] Missing PROTECT in intern_getwd (in util.c) (PR#13424)

2009-01-03 Thread milbo
Full_Name: Stephen Milborrow Version: 2.8.1 OS: WinXP Submission from: (NULL) (198.54.202.150) There is a missing PROTECT in intern_getwd in util.c. The current code is rval = allocVector(STRSXP, 1); SET_STRING_ELT(rval, 0, mkCharCE(buf, CE_UTF8)); and should be (because mkCharCE can alloca

[Rd] R echoes integer literals incorrectly, under certain conditions (PR#13204)

2008-10-25 Thread milbo
Full_Name: Stephen Milborrow Version: R 2.8.0 OS: Windows XP Submission from: (NULL) (81.159.65.46) Under certain conditions, R 2.8.0 incorrectly echoes integer literals without the "L" suffix. R 2.7.2 is ok. To reproduce, create two files as follows: a.R containing: source("b.R", echo=TRUE) b.