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

Bug#330122: your bash bug egrep arg list too long



On Sun, Feb 12, 2006 at 02:10:46PM -0800, Kingsley G. Morse Jr. wrote:

> > but I would argue that existing documentation is
> > sufficient.
> 
> This is where I must disagree.
> 
> The error message complains about "arguments", but
> the problem is with the "environment". It
> inevitably misleads users, especially new users.
> 
> It seems to me that 
> 
>     1.) execve() should return a more precise
>     error message that mentions the "environment",
>     and
execve "returns" only an error number, -1 on failure.  If it fails, it
also sets errno to a nonzero value, which is an index into
sys_errlist.

>     2.) "Additional error numbers may be defined
>     on conforming systems; see the System
>     Interfaces volume of IEEE Std 1003.1-2001."
>     (See file:///usr/share/doc/susv3/susv3/basedefs/errno.h.html#tag_13_10)
But, I don't know if it will break things or not.

Justin



Reply to: