search for: rf_strrchr

Displaying 3 results from an estimated 3 matches for "rf_strrchr".

Did you mean: rf_strchr
2007 Mar 24
2
Subtle bug in do_basename
...copy) @@ -694,7 +694,8 @@ R_fixslash(buf); #endif /* remove trailing file separator(s) */ - while ( *(p = buf + strlen(buf) - 1) == fsp ) *p = '\0'; + if(strlen(p)) + while ( *(p = buf + strlen(buf) - 1) == fsp ) *p = '\0'; if ((p = Rf_strrchr(buf, fsp))) p++; else Best, Jeff -- http://biostat.mc.vanderbilt.edu/JeffreyHorner
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
...); > < #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 Jul 19
0
build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)
..._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) && defined(SUPPORT_UTF8) < #define m...