]>
Commit | Line | Data |
---|---|---|
70f8787d JR |
1 | --- rpm-5.4.4/rpmconstant/rpmconstant.c.locale~ 2008-08-18 12:57:58.000000000 +0200 |
2 | +++ rpm-5.4.4/rpmconstant/rpmconstant.c 2011-12-16 16:41:27.721549143 +0100 | |
3 | @@ -89,7 +89,7 @@ int rpmconstInitToContext(rpmconst c, co | |
4 | int rc = 0; | |
5 | if (!context) return 0; /* programmer error */ | |
6 | for (ptr = lccontext; *ptr != 0; ptr++) | |
7 | - *ptr = (char)tolower(*ptr); | |
8 | + *ptr = (char)xtolower(*ptr); | |
9 | rpmconstInitL(c); | |
10 | while (rpmconstNextL(c)) { | |
11 | if (!strcmp(lccontext, rpmconstContext(c))) { | |
12 | @@ -108,7 +108,7 @@ int rpmconstNameMatch(rpmconst c, const | |
13 | char * ucname = strdup(name); | |
14 | ||
15 | for (uc = ucname; *uc != 0; uc++) | |
16 | - *uc = (char)toupper(*uc); | |
17 | + *uc = (char)xtoupper(*uc); | |
18 | ||
19 | if (!prefixed) prefixed = ALLCASE_PREFIX; | |
20 | if (prefixed & WITH_PREFIX) |