svn commit: samba r6953 - in branches/SAMBA_3_0/source/registry: .

vlendec at samba.org vlendec at samba.org
Tue May 24 07:55:02 GMT 2005


Author: vlendec
Date: 2005-05-24 07:55:02 +0000 (Tue, 24 May 2005)
New Revision: 6953

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

Log:
Many compilers in the build farm don't like static variables initialized with
strlen(..). Jerry, I think this needs another fix. I just want to make the
build farm happy.

Not merging to trunk, this needs further looking at.

Volker

Modified:
   branches/SAMBA_3_0/source/registry/reg_printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/registry/reg_printing.c
===================================================================
--- branches/SAMBA_3_0/source/registry/reg_printing.c	2005-05-24 05:53:50 UTC (rev 6952)
+++ branches/SAMBA_3_0/source/registry/reg_printing.c	2005-05-24 07:55:02 UTC (rev 6953)
@@ -55,9 +55,9 @@
 	uint16 key_len = strlen(path);
 	uint16 base_key_len;
 
-	static int key_printing_len = strlen( KEY_PRINTING );
-	static int key_printing2k_len = strlen( KEY_PRINTING_2K );
-	static int key_printing_ports_len = strlen( KEY_PRINTING_PORTS );
+	int key_printing_len = strlen( KEY_PRINTING );
+	int key_printing2k_len = strlen( KEY_PRINTING_2K );
+	int key_printing_ports_len = strlen( KEY_PRINTING_PORTS );
 
 
 	



More information about the samba-cvs mailing list