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

FreeSWITCH SVN mikej at freeswitch.org
Sun Dec 14 08:41:33 PST 2008


Author: mikej
Date: Sun Dec 14 11:41:33 2008
New Revision: 10756

Log:
FSCORE-254 NetBSD does not have RLIMIT_AS

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	Sun Dec 14 11:41:33 2008
@@ -781,7 +781,7 @@
 	setrlimit(RLIMIT_CPU, &rlp);
 	setrlimit(RLIMIT_DATA, &rlp);
 	setrlimit(RLIMIT_FSIZE, &rlp);
-#ifndef __OpenBSD__
+#if !defined(__OpenBSD__) && !defined(__NetBSD__)
 	setrlimit(RLIMIT_AS, &rlp);
 #endif
 #endif



More information about the Freeswitch-svn mailing list