Fix compression-ignoring of upper-case suffixes.
authorWayne Davison <wayned@samba.org>
Sat, 19 Jun 2010 16:47:00 +0000 (09:47 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 3 Jul 2010 15:47:02 +0000 (08:47 -0700)
Fixes bug 7512.

token.c

diff --git a/token.c b/token.c
index 3e068a97b1382d5cf4efcd183996cad5aafa1d5f..843055f73d3ecd4c22b96ff0c4bbe067e7beb288 100644 (file)
--- a/token.c
+++ b/token.c
@@ -192,6 +192,8 @@ void set_compression(const char *fname)
                return;
 
        while (1) {
+               if (isUpper(&ltr))
+                       ltr = toLower(&ltr);
                while (node->letter != ltr) {
                        if (node->letter > ltr)
                                return;