summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2008-08-14 13:08:09 +0200
committerJindrich Novy <jnovy@redhat.com>2008-08-14 13:08:09 +0200
commit3b9636cd69b81b6e23331bb797c0fdde79e97316 (patch)
treefbbcf19f4870062193ddc0adcf59a91cf0b74da8
parentbe02cdfa87f593bee96554d0fc5ae4ab1eb04f05 (diff)
downloadlibrpm-tizen-3b9636cd69b81b6e23331bb797c0fdde79e97316.tar.gz
librpm-tizen-3b9636cd69b81b6e23331bb797c0fdde79e97316.tar.bz2
librpm-tizen-3b9636cd69b81b6e23331bb797c0fdde79e97316.zip
Accept numerical characters in macro expansion (related to rhbz#456103)
-rw-r--r--build/expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/expression.c b/build/expression.c
index 970ec05e6..83a402150 100644
--- a/build/expression.c
+++ b/build/expression.c
@@ -272,7 +272,7 @@ static int rdToken(ParseState state)
char *temp;
size_t ts;
- for (ts=1; p[ts] && (risalpha(p[ts]) || p[ts] == '_'); ts++);
+ for (ts=1; p[ts] && (risalnum(p[ts]) || p[ts] == '_'); ts++);
temp = xmalloc(ts+1);
memcpy(temp, p, ts);
p += ts-1;