summaryrefslogtreecommitdiff
path: root/build/parseReqs.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-18 09:10:13 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-18 09:10:13 +0200
commitc908277be21c27a0894404821605134958521fd6 (patch)
treecf247a2a6753c527a7985aeeeb4b0dee3b4626b8 /build/parseReqs.c
parent9df54a8622b6640e54288835e62c6c0d0b23c748 (diff)
downloadlibrpm-tizen-c908277be21c27a0894404821605134958521fd6.tar.gz
librpm-tizen-c908277be21c27a0894404821605134958521fd6.tar.bz2
librpm-tizen-c908277be21c27a0894404821605134958521fd6.zip
Minimal namespacing for locale-insensitive x*() string functions
Diffstat (limited to 'build/parseReqs.c')
-rw-r--r--build/parseReqs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/parseReqs.c b/build/parseReqs.c
index 33bd55771..3913c972d 100644
--- a/build/parseReqs.c
+++ b/build/parseReqs.c
@@ -30,8 +30,8 @@ const char * token;
{ NULL, 0 },
};
-#define SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;}
-#define SKIPNONWHITE(_x){while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;}
+#define SKIPWHITE(_x) {while(*(_x) && (risspace(*_x) || *(_x) == ',')) (_x)++;}
+#define SKIPNONWHITE(_x){while(*(_x) &&!(risspace(*_x) || *(_x) == ',')) (_x)++;}
rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTag tagN,
int index, rpmsenseFlags tagflags)
@@ -101,7 +101,7 @@ rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTag tagN,
Flags = (tagflags & ~RPMSENSE_SENSEMASK);
/* Tokens must begin with alphanumeric, _, or / */
- if (!(xisalnum(r[0]) || r[0] == '_' || r[0] == '/')) {
+ if (!(risalnum(r[0]) || r[0] == '_' || r[0] == '/')) {
rpmlog(RPMLOG_ERR,
_("line %d: Dependency tokens must begin with alpha-numeric, '_' or '/': %s\n"),
spec->lineNum, spec->line);