Fixed action-hasing bug with broken cas insesitiveness.
authorshort <>
Wed, 19 Jul 2000 21:16:34 +0000 (21:16 +0000)
committershort <>
Wed, 19 Jul 2000 21:16:34 +0000 (21:16 +0000)
timeplan.c

index f8fd739..e48910c 100644 (file)
@@ -183,7 +183,7 @@ static unsigned calchash(const char *s)
 {
 unsigned r=57;
 
 {
 unsigned r=57;
 
-       while (*s) r=r*7+11*(*s++);
+       while (*s) r=r*7+11*toupper(*s++);
        return r;
 }
 
        return r;
 }