From: Volker Lendecke Date: Sun, 22 Mar 2009 10:39:10 +0000 (+0100) Subject: Use StrCaseCmp in the dirsort module X-Git-Tag: samba-3.4.0pre1~283 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=08ddb6d2b120197719a6ff4dd51cf6bb9c317963;p=samba.git Use StrCaseCmp in the dirsort module (cherry picked from commit fcd02076d7562d2bc222dd15d2cd0a8fff58d5cf) --- diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c index f9a31c8976c..53d1820c11a 100644 --- 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 strcmp(da->d_name, db->d_name); + return StrCaseCmp(da->d_name, db->d_name); } struct dirsort_privates {