git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6661dc0
)
Use StrCaseCmp in the dirsort module
author
Volker Lendecke
<vl@samba.org>
Sun, 22 Mar 2009 10:39:10 +0000
(11:39 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 15 Apr 2009 07:07:33 +0000
(09:07 +0200)
(cherry picked from commit
fcd02076d7562d2bc222dd15d2cd0a8fff58d5cf
)
source3/modules/vfs_dirsort.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_dirsort.c
b/source3/modules/vfs_dirsort.c
index f9a31c8976c6ca0bce62eb29bc671bd076e4868e..53d1820c11a1f816b178ec3587d5259fff664b1a 100644
(file)
--- a/
source3/modules/vfs_dirsort.c
+++ b/
source3/modules/vfs_dirsort.c
@@
-23,7
+23,7
@@
static int compare_dirent (const void *a, const void *b) {
const SMB_STRUCT_DIRENT *da = (const SMB_STRUCT_DIRENT *) a;
const SMB_STRUCT_DIRENT *db = (const SMB_STRUCT_DIRENT *) b;
- return
strc
mp(da->d_name, db->d_name);
+ return
StrCaseC
mp(da->d_name, db->d_name);
}
struct dirsort_privates {