[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accessing ENVIRON causes SIGFPE when first var is numeric
From: |
arnold |
Subject: |
Re: accessing ENVIRON causes SIGFPE when first var is numeric |
Date: |
Wed, 15 Jun 2022 08:56:08 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Wolfgang Laun <wolfgang.laun@gmail.com> wrote:
> SETENV(3) appears to be the function that determines what may or may not be
> in the Environment. From the man page's ERROR section: EINVAL name is NULL,
> points to a string of length 0, or contains an '=' character. Names weirder
> than a digit should be possible.
>
> Wolfgang
So 0=foo is apparently valid, but will probably give shells a fit.
I will add Andy's patch soon.
Thanks,
Arnol