svn commit: samba r11739 - branches/SAMBA_3_0/source/param trunk/source/param

vlendec at samba.org vlendec at samba.org
Wed Nov 16 06:54:40 GMT 2005


Author: vlendec
Date: 2005-11-16 06:54:39 +0000 (Wed, 16 Nov 2005)
New Revision: 11739

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

Log:
As per Jeremy's request, add a panic action for developers. Now configure.in
needs something along the lines of 

if [ $LOGNAME == "jht" ]
then
   CFLAGS="$CFLAGS -DDEVELOPER"
fi

But that goes a bit far I think.... :-)))

Volker

Modified:
   branches/SAMBA_3_0/source/param/loadparm.c
   trunk/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c	2005-11-16 06:39:57 UTC (rev 11738)
+++ branches/SAMBA_3_0/source/param/loadparm.c	2005-11-16 06:54:39 UTC (rev 11739)
@@ -1424,6 +1424,9 @@
 	slprintf(s, sizeof(s) - 1, "%d.%d", DEFAULT_MAJOR_VERSION,
 		 DEFAULT_MINOR_VERSION);
 	string_set(&Globals.szAnnounceVersion, s);
+#ifdef DEVELOPER
+	string_set(&Globals.szPanicAction, "/bin/sleep 999999999");
+#endif
 
 	pstrcpy(user_socket_options, DEFAULT_SOCKET_OPTIONS);
 

Modified: trunk/source/param/loadparm.c
===================================================================
--- trunk/source/param/loadparm.c	2005-11-16 06:39:57 UTC (rev 11738)
+++ trunk/source/param/loadparm.c	2005-11-16 06:54:39 UTC (rev 11739)
@@ -1424,6 +1424,9 @@
 	slprintf(s, sizeof(s) - 1, "%d.%d", DEFAULT_MAJOR_VERSION,
 		 DEFAULT_MINOR_VERSION);
 	string_set(&Globals.szAnnounceVersion, s);
+#ifdef DEVELOPER
+	string_set(&Globals.szPanicAction, "/bin/sleep 999999999");
+#endif
 
 	pstrcpy(user_socket_options, DEFAULT_SOCKET_OPTIONS);
 



More information about the samba-cvs mailing list