svn commit: samba r9914 - branches/SAMBA_3_0/source/registry trunk/source/registry

jerry at samba.org jerry at samba.org
Thu Sep 1 20:24:42 GMT 2005


Author: jerry
Date: 2005-09-01 20:24:41 +0000 (Thu, 01 Sep 2005)
New Revision: 9914

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9914

Log:
key ordering in hash list is case insensitive
Modified:
   branches/SAMBA_3_0/source/registry/regfio.c
   trunk/source/registry/regfio.c


Changeset:
Modified: branches/SAMBA_3_0/source/registry/regfio.c
===================================================================
--- branches/SAMBA_3_0/source/registry/regfio.c	2005-09-01 19:31:08 UTC (rev 9913)
+++ branches/SAMBA_3_0/source/registry/regfio.c	2005-09-01 20:24:41 UTC (rev 9914)
@@ -1670,7 +1670,7 @@
 
 static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
 {
-	return strcmp( h1->fullname, h2->fullname );
+	return StrCaseCmp( h1->fullname, h2->fullname );
 }
 
 /*******************************************************************

Modified: trunk/source/registry/regfio.c
===================================================================
--- trunk/source/registry/regfio.c	2005-09-01 19:31:08 UTC (rev 9913)
+++ trunk/source/registry/regfio.c	2005-09-01 20:24:41 UTC (rev 9914)
@@ -1670,7 +1670,7 @@
 
 static int hashrec_cmp( REGF_HASH_REC *h1, REGF_HASH_REC *h2 )
 {
-	return strcmp( h1->fullname, h2->fullname );
+	return StrCaseCmp( h1->fullname, h2->fullname );
 }
 
 /*******************************************************************



More information about the samba-cvs mailing list