Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Boundary error in VCS_INFO_set --nvcs
- X-seq: zsh-workers 50078
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Boundary error in VCS_INFO_set --nvcs
- Date: Sun, 17 Apr 2022 14:31:28 -0700
- Archived-at: <https://zsh.org/workers/50078>
- In-reply-to: <20220417184816.GA14929@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7bNc7LpU+Rdyw8=+eKLXEB43YGkq+uVU3gk4q60rCr3Zw@mail.gmail.com> <20220417180423.GQ27526@tarpaulin.shahaf.local2> <20220417184816.GA14929@tarpaulin.shahaf.local2>
On Sun, Apr 17, 2022 at 11:48 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> > Bart Schaefer wrote on Wed, Apr 13, 2022 at 14:34:28 -0700:
> > > [[ $2 == '-preinit-' ]] && (( maxexports == 0 )) && (( maxexports = 1 ))
> > > for i in {0..$((maxexports - 1))} ; do
>
> I'm not sure, however, what the right code change is. Anyone wants to
> jump in?
Dropping [[ $2 == '-preinit-' ]] && would be the obvious thing, but
I'm not sure why we care about it, so perhaps something more
complicated is required.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author