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


Reply via email to