Index | Thread | Search

From:
Christian Schulte <cs@schulte.it>
Subject:
Re: new warning in make
To:
tech@openbsd.org
Date:
Sat, 27 Sep 2025 09:44:30 +0200

Download raw body.

Thread
Am 25.09.2025 um 11:35 schrieb Marc Espie:
> cc now warns over arch.c
> /usr/src/usr.bin/make/arch.c:839:3: warning: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Wformat-truncation]
>   839 |                 snprintf(arHeader.ar_date, sizeof(arHeader.ar_date),
>       |                 ^

What about -Wformat-signedness? Keen on researching all those signedness
cases? Go on. You got the job.

-- 
Christian