version 1.34, 2013/11/12 17:44:03 |
version 1.35, 2013/11/22 15:47:35 |
|
|
rp++; |
rp++; |
} |
} |
else if (*rp == '&' || |
else if (*rp == '&' || |
(*rp == '\\' && isdigit(rp[1]))) { |
(*rp == '\\' && ISDIGIT(rp[1]))) { |
int n; |
int n; |
const char *subbuf; |
const char *subbuf; |
int sublen; |
int sublen; |
|
|
len = strlen(s); |
len = strlen(s); |
t = emalloc(len+1); |
t = emalloc(len+1); |
for (i = 0; i < len; i++) |
for (i = 0; i < len; i++) |
t[i] = toupper(s[i]); |
t[i] = TOUPPER(s[i]); |
t[len] = '\0'; |
t[len] = '\0'; |
return t; |
return t; |
} |
} |
|
|
len = strlen(s); |
len = strlen(s); |
t = emalloc(len+1); |
t = emalloc(len+1); |
for (i = 0; i < len; i++) |
for (i = 0; i < len; i++) |
t[i] = tolower(s[i]); |
t[i] = TOLOWER(s[i]); |
t[len] = '\0'; |
t[len] = '\0'; |
return t; |
return t; |
} |
} |