[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB.
From: |
Peter O'Gorman |
Subject: |
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB. |
Date: |
Tue, 02 Sep 2008 11:38:21 -0500 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Peter Rosin wrote:
> Hi Peter,
>
> Den 2008-09-02 17:50, skrev Peter O'Gorman:
>> Hi,
>>
>> On an hpux10.20 system with ARG_MAX at 20KB, we still got "Arg list too
>> long" when linking. It worked when I edited the libtool script and set
>> max_cmd_len to 10K instead of 15.
>>
>> For systems with a large value of ARG_MAX, setting max_cmd_len to 75%
>> still seems reasonable though.
>>
>> Ok to push?
>
> The ChangeLog says that the cut-off is at 40k, but I read the code
> to have the cut-off at 80k. (x/4 > 20k)
>
> I'm fine by the change, not that I think it matters... :-)
You're right, of course. I will fix that to say 80K (80K, 40K, does not
really matter, as long as "small" ARG_MAX gets more % safety factor
than "large".)
Peter
--
Peter O'Gorman
http://pogma.com
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB., Ralf Wildenhues, 2008/09/04