search for: rf_strchr

Displaying 4 results from an estimated 4 matches for "rf_strchr".

Did you mean: rf_strrchr
2009 Aug 20
1
header containing (PR#13834)
...sys as an ignored error: bash$ diff -C 4 R-2.9.1-orig/src/main/platform.c R-2.9.1/src/main/platform.c *** R-2.9.1-orig/src/main/platform.c Sun Mar 22 20:05:03 2009 --- R-2.9.1/src/main/platform.c Thu Aug 20 12:32:15 2009 *************** *** 1960,1968 **** p = dir; while ((p = Rf_strchr(p+1, '/'))) { *p = '\0'; res = mkdir(dir, mode); ! if (res && errno != EEXIST) goto end; *p = '/'; } } res = mkdir(dir, mode); --- 1960,1968 ---- p = dir; while ((p = Rf_strchr(...
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
...#ifdef SUPPORT_MBCS > < int utf8clen(char c); > < #define mbs_init(x) memset(x, 0, sizeof(mbstate_t)) > < size_t Mbrtowc(wchar_t *wc, const char *s, size_t n, mbstate_t *ps); > < void mbcsToLatin1(char *in, char *out); > < Rboolean mbcsValid(char *str); > < char *Rf_strchr(const char *s, int c); > < char *Rf_strrchr(const char *s, int c); > < #else > < #define Rf_strchr(s, c) strchr(s, c) > < #define Rf_strrchr(s, c) strrchr(s, c) > < #endif > < #ifdef Win32 > < void R_fixslash(char *s); > < void R_fixbackslash(char *s)...
2005 Jul 19
0
build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)
...f8strIsASCII(char *str); < #ifdef SUPPORT_MBCS < int utf8clen(char c); < #define mbs_init(x) memset(x, 0, sizeof(mbstate_t)) < size_t Mbrtowc(wchar_t *wc, const char *s, size_t n, mbstate_t *ps); < void mbcsToLatin1(char *in, char *out); < Rboolean mbcsValid(char *str); < char *Rf_strchr(const char *s, int c); < char *Rf_strrchr(const char *s, int c); < #else < #define Rf_strchr(s, c) strchr(s, c) < #define Rf_strrchr(s, c) strrchr(s, c) < #endif < #ifdef Win32 < void R_fixslash(char *s); < void R_fixbackslash(char *s); < #endif < #if defined(Win32) &a...
2005 Sep 18
0
Updated rawConnection() patch
...ZE], *b = buf, *p, *q, *vmax = vmaxget(); int res = 0, usedRalloc = FALSE, buffree, already = strlen(this->lastline); - SEXP tmp; if(already >= BUFSIZE) { /* This will fail so just call vsnprintf to get the length of @@ -1841,13 +1878,9 @@ for(p = b; ; p = q+1) { q = Rf_strchr(p, '\n'); if(q) { - int idx = ConnIndex(con); *q = '\0'; - PROTECT(tmp = lengthgets(this->data, ++this->len)); - SET_STRING_ELT(tmp, this->len - 1, mkChar(p)); - defineVar(this->namesymbol, tmp, VECTOR_ELT(OutTextData, idx)); - this->data =...