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

FreeSWITCH SVN anthm at freeswitch.org
Mon Mar 9 09:17:01 PDT 2009


Author: anthm
Date: Mon Mar  9 11:17:01 2009
New Revision: 12534

Log:
FSCORE-326

Modified:
   freeswitch/trunk/src/switch_core.c

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Mon Mar  9 11:17:01 2009
@@ -808,7 +808,9 @@
 	setrlimit(RLIMIT_CPU, &rlp);
 	setrlimit(RLIMIT_DATA, &rlp);
 	setrlimit(RLIMIT_FSIZE, &rlp);
+#ifdef RLIMIT_NPROC
 	setrlimit(RLIMIT_NPROC, &rlp);
+#endif
 #ifdef RLIMIT_RTPRIO
 	setrlimit(RLIMIT_RTPRIO, &rlp);
 #endif



More information about the Freeswitch-svn mailing list