]> granicus.if.org Git - php/commitdiff
Use caseinsensitive sort
authorMarcus Boerger <helly@php.net>
Sun, 2 May 2004 13:23:30 +0000 (13:23 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 2 May 2004 13:23:30 +0000 (13:23 +0000)
ext/standard/info.c

index 1966793b284dcc8ef9ed5f9cbbec7b86c84773ae..afed5551931ff1106a335eea16fb97b2d36d7b6a 100644 (file)
@@ -373,7 +373,7 @@ static int module_name_cmp(const void *a, const void *b TSRMLS_DC)
        Bucket *f = *((Bucket **) a);
        Bucket *s = *((Bucket **) b);
 
-       return strcmp(((zend_module_entry *)f->pData)->name,
+       return strcasecmp(((zend_module_entry *)f->pData)->name,
                                  ((zend_module_entry *)s->pData)->name);
 }
 /* }}} */