Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ERRNO is unset until set
- X-seq: zsh-workers 50142
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: ERRNO is unset until set
- Date: Fri, 29 Apr 2022 17:08:05 +0000
- Archived-at: <https://zsh.org/workers/50142>
- In-reply-to: <CAH+w=7ZOHoWBjcbBpWTS3uxZvmEkTzWAvsK4bUU5ictL=Kac_Q@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CA+rB6G+8mEDS=iZztLCTbtK99MqmaG9chi_GWANOQ9HN_U1uMQ@mail.gmail.com> <Ymqfi9/+1EsEORnA@CptOrmolo.darkstar> <Ymqhpe+lM+5+VF/l@CptOrmolo.darkstar> <CAH+w=7Z=5fCZyNNXU8Fw1_OLzXF2P__gmX+pVUb3CcVvnn5JWg@mail.gmail.com> <CAHYJk3TQx057ZBM-6MogyJFOufsznj4SCWqmkyP4qr=DRfLm5Q@mail.gmail.com> <CAH+w=7ZOHoWBjcbBpWTS3uxZvmEkTzWAvsK4bUU5ictL=Kac_Q@mail.gmail.com>
Bart Schaefer wrote on Fri, 29 Apr 2022 17:02 +00:00:
> On Fri, Apr 29, 2022 at 3:00 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>>
>> When is this good or useful?
>
> I was wondering that myself. The only thing I can think of is to make
> ${+ERRNO} show the "right" thing.
>
> Archive search is still offline (and I'm not sure it would help
> anyway) so I can't find the discussion that led up my patch from
> 32337,
https://zsh.org/workers/32157?
> but it seems to me that was intended to be just a first step to
> causing some of those variables to be non-special when zsh is started
> in emulation mode. The second step just never happened, or at least
> not comprehensively.
>
> I'm no longer even sure why ERRNO was included, there's no reference
> to it in the POSIX shell specification. Clash with some other shell?
> But which one?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author