[Freeswitch-svn] [commit] r12670 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Thu Mar 19 18:22:40 PDT 2009


Author: anthm
Date: Thu Mar 19 20:22:40 2009
New Revision: 12670

Log:
make -vg imply -waste so valgrind runs won't re-exec

Modified:
   freeswitch/trunk/src/switch.c

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Thu Mar 19 20:22:40 2009
@@ -611,7 +611,7 @@
 	}
 
 #if defined(HAVE_SETRLIMIT) && !defined(__sun)
-	if (!waste) {
+	if (!waste && !(flags & SCF_VG)) {
 		memset(&rlp, 0, sizeof(rlp));
 		getrlimit(RLIMIT_STACK, &rlp);
 		if (rlp.rlim_max > SWITCH_THREAD_STACKSIZE) {



More information about the Freeswitch-svn mailing list