} else {
/* GET_HOSTS_BYNAME */
for (i = 1; i < aliases; i++)
- if (strcasecmp(name, alias[i]) == 0)
+ if (__strcasecmp(name, alias[i]) == 0)
break;
if (i >= aliases)
continue;
* or official hostname. Also allow match of
* incompletely-specified host in local domain.
*/
- if (strcasecmp(host, tokval) == 0)
+ if (__strcasecmp(host, tokval) == 0)
goto match;
-/* if (__strcasecmp(hostname, tokval) == 0)
- goto match;
- if ((tmp = __strchr(hostname, '.')) != NULL &&
- __strcasecmp(tmp, mydomain) == 0 &&
- __strncasecmp(hostname, tokval, tmp-hostname) == 0 &&
- tokval[tmp - hostname] == '\0')
- goto match; */
if ((tmp = __strchr(host, '.')) != NULL &&
- strcasecmp(tmp, mydomain) == 0 &&
- strncasecmp(host, tokval, tmp - host) == 0 &&
+ __strcasecmp(tmp, mydomain) == 0 &&
+ __strncasecmp(host, tokval, tmp - host) == 0 &&
tokval[tmp - host] == '\0')
goto match;
continue;
#define strlen __strlen
#define strncpy __strncpy
#define getenv __getenv
+#define strcasecmp __strcasecmp
+#define wcscoll __wcscoll
extern void *__mempcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) /*attribute_hidden*/;
int codeset;
for (s = __iconv_codesets ; *s ; s += *s) {
- if (!strcasecmp(s+2, name)) {
+ if (!__strcasecmp(s+2, name)) {
return s[1];
}
}
s = __LOCALE_DATA_CODESET_LIST;
do {
++codeset; /* Increment codeset first. */
- if (!strcasecmp(__LOCALE_DATA_CODESET_LIST+*s, name)) {
+ if (!__strcasecmp(__LOCALE_DATA_CODESET_LIST+*s, name)) {
return codeset;
}
} while (*++s);