diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-12 00:41:03 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-04-12 00:41:03 +0000 |
commit | 6bbdde4f5f769875e153315b06a303e92fa008f0 (patch) | |
tree | eb1aa01378d08af285cad67e5cea84b27eaff6db /tests/permutc2.exp | |
parent | ab6f0966b7a74d90cfe036e6b1c2a633e46668f3 (diff) | |
download | gperf-6bbdde4f5f769875e153315b06a303e92fa008f0.tar.gz |
Fix the comparison of the first byte when using gperf_case_strcmp.
Diffstat (limited to 'tests/permutc2.exp')
-rw-r--r-- | tests/permutc2.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/permutc2.exp b/tests/permutc2.exp index 02632d5..30eb911 100644 --- a/tests/permutc2.exp +++ b/tests/permutc2.exp @@ -108,7 +108,7 @@ in_word_set (str, len) { register const char *s = wordlist[key]; - if (*str == *s && !gperf_case_strcmp (str + 1, s + 1)) + if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 && !gperf_case_strcmp (str, s)) return s; } } |