[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gawk division errors on macOS
From: |
Ben Hoyt |
Subject: |
Re: Gawk division errors on macOS |
Date: |
Mon, 24 Oct 2022 20:30:26 +1300 |
Nice, thanks. Git commit for reference:
https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=e5eb1da0433a827dbca1e0e35ab1629234ea97aa
On Mon, Oct 24, 2022 at 7:08 PM <arnold@skeeve.com> wrote:
> Hi.
>
> Ben Hoyt <benhoyt@gmail.com> wrote:
>
> > Thanks! Sorry for the red herring indicating it was macOS.
>
> No problem.
>
> > Interesting that this only surfaced now. I presume there was some
> > substantial refactoring in 5.2 that made this crop up?
>
> Minor refactoring; I had added checking at parse time if dividing by a
> constant that was zero, but didn't check that the type was numeric.
> That was a new change at 5.2.0.
>
> > Worth adding a regression test for the string/string case?
>
> Already done.
>
> Thanks,
>
> Arnold
>