From: Jeff Trawick Date: Fri, 17 Jan 2003 14:46:50 +0000 (+0000) Subject: Fix the ulimit command used by apachectl on Tru64. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e7661b33b83b73b922e270a4908a8b78b536ae2;p=apache Fix the ulimit command used by apachectl on Tru64. PR: 13609 Submitted by: Joseph Senulis , Jeff Trawick] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98309 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index c30f776a98..d29cf47e49 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) Fix the ulimit command used by apachectl on Tru64. PR 13609. + [Joseph Senulis , Jeff Trawick] + *) Add mod_authz_owner - a forward port of "Require file-owner" and "Require file-group", which was already present in version 1.3.21. [André Malo] diff --git a/support/config.m4 b/support/config.m4 index 1fe2889dab..dcc99f4409 100644 --- a/support/config.m4 +++ b/support/config.m4 @@ -83,12 +83,16 @@ APACHE_SUBST(checkgid_LTFLAGS) case $host in *aix*) - # this works in any locale, unlike the command below, which + # this works in any locale, unlike the default command below, which # fails in a non-English locale if the hard limit is unlimited # since the display of the limit will translate "unlimited", but # ulimit only accepts English "unlimited" on input APACHECTL_ULIMIT="ulimit -S -n unlimited" ;; + *alpha*-dec-osf*) + # Tru64: -H is for setting, not retrieving + APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`" + ;; *) if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"