search for: xxlineno

Displaying 5 results from an estimated 5 matches for "xxlineno".

Did you mean: lineno
2008 Apr 25
2
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11281)
...y work): >=20 > the bug is in ./src/main/gram.c line 3038: >=20 > } else { /* over-long line */ > fixthis --> char *LongLine =3D (char *) malloc(nc); > if(!LongLine) > error(_("unable to allocate space for source line % d"), xxlineno); > strncpy(LongLine, (char *)p0, nc); > bug --> LongLine[nc] =3D '\0'; > SET_STRING_ELT(source, lines++, > mkChar2((char *)LongLine)); > free(LongLine); >=20 > note that LongLine is only nc chars long, s...
2008 Apr 25
1
Bug in R 2.7 for over long lines
...ing a crash (so R & swig might actually work): the bug is in ./src/main/gram.c line 3038: } else { /* over-long line */ fixthis --> char *LongLine = (char *) malloc(nc); if(!LongLine) error(_("unable to allocate space for source line %d"), xxlineno); strncpy(LongLine, (char *)p0, nc); bug --> LongLine[nc] = '\0'; SET_STRING_ELT(source, lines++, mkChar2((char *)LongLine)); free(LongLine); note that LongLine is only nc chars long, so the LongLine[nc]='\0' might b...
2008 May 10
0
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11438)
...> =20 > >> } else { /* over-long line */ > >> fixthis --> char *LongLine =3D (char *) malloc(nc); > >> if(!LongLine) > >> error(_("unable to allocate space for source line % > >> > > d"), xxlineno); > > > >> strncpy(LongLine, (char *)p0, nc); > >> bug --> LongLine[nc] =3D '\0'; > >> SET_STRING_ELT(source, lines++, > >> mkChar2((char *)LongLine)); > >> free(LongLine)...
2008 Apr 26
0
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11284)
.../gram.c line 3038: >> =3D20 >> } else { /* over-long line */ >> fixthis --> char *LongLine =3D3D (char *) malloc(nc); >> if(!LongLine) >> error(_("unable to allocate space for source line % >> =20 > d"), xxlineno); > =20 >> strncpy(LongLine, (char *)p0, nc); >> bug --> LongLine[nc] =3D3D '\0'; >> SET_STRING_ELT(source, lines++, >> mkChar2((char *)LongLine)); >> free(LongLine); >> =3D20 >>...
2008 May 10
1
(PR#11281) Bug in R 2.7 for over long lines (crasher+proposed
...>>> } else { /* over-long line */ >>>> fixthis --> char *LongLine =3D (char *) malloc(nc); >>>> if(!LongLine) >>>> error(_("unable to allocate space for source line % >>>> >>> d"), xxlineno); >>> >>>> strncpy(LongLine, (char *)p0, nc); >>>> bug --> LongLine[nc] =3D '\0'; >>>> SET_STRING_ELT(source, lines++, >>>> mkChar2((char *)LongLine)); >>>>...