Use PRI*64 instead of "ll*" in format strings (minimal trial)
Old: errmsg("hello %llu", (unsigned long long) x)
New: errmsg("hello %" PRIu64, x)
And likewise for everything printf-like.
In the past we had to use long long so localized format strings remained
architecture independent in message c
On Fri, Feb 28, 2025 at 12:14 PM Andrew Dunstan wrote:
>
>
> On 2025-02-28 Fr 2:55 PM, Masahiko Sawada wrote:
> > On Fri, Feb 28, 2025 at 11:47 AM Andrew Dunstan wrote:
> >>
> >> On 2025-02-28 Fr 1:31 PM, Masahiko Sawada wrote:
> >>
> >> Refactor COPY FROM to use format callback functions.
> >>
>
> After a bit of fooling around I found that using an explicit \n
> instead of ^ fixes it. Not the world's most idiomatic regex,
> but it'll do. Will push the attached shortly.
I can also confirm this works as expected, although I feel my
suggested expression [0] is easier to understand, but I h