mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Use caseinsensitive sort
This commit is contained in:
parent
4d5ce8cd08
commit
6a4e1fff78
@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user