info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX 10.20


From: James Youngman
Subject: Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX 10.20
Date: 27 Oct 2000 22:41:53 +0100
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3

Lenny Foner <address@hidden> writes:

>     Date: Tue, 24 Oct 2000 14:46:13 -0400 (EDT)
>     From: address@hidden (Larry Jones)
> 
>     Derek R. Price writes:
>     > 
>     > I'm thinking maybe the standard test comes close to the argument length
>     > limit and something about your system pushes it over the edge.
> 
>     On many systems, the environment counts against the maximum argument
>     length limit; if you've got a lot of enviroment variables or some with
>     very long definitions, try deleting them before running the tests.  (You
>     may find env -i [some versions use - instead of -i] to be a handy way to
>     do that.)
> 
> Ah ha!  This is -exactly- what the problem was.  I have somewhat over
> 300 environment variables (printenv returns about 11K bytes), since I
> often point at useful parts of the filesystem with them.  (Do aliases
> count as well?  What else?  Why isn't this -documented- anywhere?  Why
> in the world is it -true-?  Even in GNU products?  Unheard-of!)

>From the Unix98 standard:-

     The number of bytes available for the new process' combined
     argument and environment lists is {ARG_MAX}. It is
     implementation-dependent whether null terminators, pointers,
     and/or any alignment bytes are included in this total.

-- 
James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <address@hidden> is 64A95EE5 (F1B83152).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]