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

Freeswitch SVN anthm at freeswitch.org
Wed Oct 1 08:55:42 EDT 2008


Author: anthm
Date: Wed Oct  1 08:55:41 2008
New Revision: 9774

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
add patch from FSCORE-196

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Wed Oct  1 08:55:41 2008
@@ -1466,6 +1466,7 @@
 	int ret = 0;
 	struct system_thread_handle *sth;
 	switch_memory_pool_t *pool;
+#ifndef __FreeBSD__
 #ifdef HAVE_SETRLIMIT
 	struct rlimit rlim;
 
@@ -1473,6 +1474,7 @@
 	rlim.rlim_max = SWITCH_SYSTEM_THREAD_STACKSIZE;;
 	setrlimit(RLIMIT_STACK, &rlim);
 #endif
+#endif
 
 	if (switch_core_new_memory_pool(&pool) != SWITCH_STATUS_SUCCESS) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Pool Failure\n");



More information about the Freeswitch-svn mailing list