svn commit: samba r23507 - in branches: SAMBA_3_0/source/lib
SAMBA_3_0/source/registry SAMBA_3_0_26/source/lib
SAMBA_3_0_26/source/registry
obnox at samba.org
obnox at samba.org
Fri Jun 15 15:51:46 GMT 2007
Author: obnox
Date: 2007-06-15 15:51:45 +0000 (Fri, 15 Jun 2007)
New Revision: 23507
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23507
Log:
Split one general function normalize_dbkey from reg_db.c into util_reg.c
(To be used in other place in subsequent commit.)
Michael
Modified:
branches/SAMBA_3_0/source/lib/util_reg.c
branches/SAMBA_3_0/source/registry/reg_db.c
branches/SAMBA_3_0_26/source/lib/util_reg.c
branches/SAMBA_3_0_26/source/registry/reg_db.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util_reg.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util_reg.c 2007-06-15 12:23:14 UTC (rev 23506)
+++ branches/SAMBA_3_0/source/lib/util_reg.c 2007-06-15 15:51:45 UTC (rev 23507)
@@ -110,3 +110,10 @@
return WERR_OK;
}
+
+void normalize_dbkey(char *key)
+{
+ size_t len = strlen(key);
+ string_sub(key, "\\", "/", len+1);
+ strupper_m(key);
+}
Modified: branches/SAMBA_3_0/source/registry/reg_db.c
===================================================================
--- branches/SAMBA_3_0/source/registry/reg_db.c 2007-06-15 12:23:14 UTC (rev 23506)
+++ branches/SAMBA_3_0/source/registry/reg_db.c 2007-06-15 15:51:45 UTC (rev 23507)
@@ -697,13 +697,6 @@
return ret != -1 ;
}
-void normalize_dbkey(char *key)
-{
- size_t len = strlen(key);
- string_sub(key, "\\", "/", len+1);
- strupper_m(key);
-}
-
static WERROR regdb_get_secdesc(TALLOC_CTX *mem_ctx, const char *key,
struct security_descriptor **psecdesc)
{
Modified: branches/SAMBA_3_0_26/source/lib/util_reg.c
===================================================================
--- branches/SAMBA_3_0_26/source/lib/util_reg.c 2007-06-15 12:23:14 UTC (rev 23506)
+++ branches/SAMBA_3_0_26/source/lib/util_reg.c 2007-06-15 15:51:45 UTC (rev 23507)
@@ -110,3 +110,10 @@
return WERR_OK;
}
+
+void normalize_dbkey(char *key)
+{
+ size_t len = strlen(key);
+ string_sub(key, "\\", "/", len+1);
+ strupper_m(key);
+}
Modified: branches/SAMBA_3_0_26/source/registry/reg_db.c
===================================================================
--- branches/SAMBA_3_0_26/source/registry/reg_db.c 2007-06-15 12:23:14 UTC (rev 23506)
+++ branches/SAMBA_3_0_26/source/registry/reg_db.c 2007-06-15 15:51:45 UTC (rev 23507)
@@ -697,13 +697,6 @@
return ret != -1 ;
}
-void normalize_dbkey(char *key)
-{
- size_t len = strlen(key);
- string_sub(key, "\\", "/", len+1);
- strupper_m(key);
-}
-
static WERROR regdb_get_secdesc(TALLOC_CTX *mem_ctx, const char *key,
struct security_descriptor **psecdesc)
{
More information about the samba-cvs
mailing list