From: Volker Lendecke Date: Sun, 22 Mar 2009 10:39:10 +0000 (+0100) Subject: Use StrCaseCmp in the dirsort module X-Git-Tag: tdb-1.1.5~1075^2~27^2~5 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=14df86e9e368fdab327bd07a2954f650b2946ff2;ds=sidebyside Use StrCaseCmp in the dirsort module --- 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 {