httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r730911 - /httpd/httpd/trunk/support/config.m4
Date Sat, 03 Jan 2009 05:06:43 GMT
Author: jerenkrantz
Date: Fri Jan  2 21:06:43 2009
New Revision: 730911

URL: http://svn.apache.org/viewvc?rev=730911&view=rev
Log:
Silence ulimit warnings on platforms/configs that don't support setting the
soft limit to the hard limit (aka default Mac OS X).

* support/config.m4: Redirect output to /dev/null.

Modified:
    httpd/httpd/trunk/support/config.m4

Modified: httpd/httpd/trunk/support/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/config.m4?rev=730911&r1=730910&r2=730911&view=diff
==============================================================================
--- httpd/httpd/trunk/support/config.m4 (original)
+++ httpd/httpd/trunk/support/config.m4 Fri Jan  2 21:06:43 2009
@@ -127,7 +127,7 @@
         APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
         ;;
     *)
-        if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
+        if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT >/dev/null 2>&1;
then
             APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"
         else
             APACHECTL_ULIMIT=""



Mime
View raw message