Page MenuHomeFreeBSD

m4: Fix eval output width
ClosedPublic

Authored by des on Feb 16 2026, 5:00 PM.
Tags
None
Referenced Files
F157364031: D55311.id172069.diff
Wed, May 20, 3:38 PM
F157360376: D55311.id171996.diff
Wed, May 20, 2:48 PM
F157354622: D55311.id.diff
Wed, May 20, 1:48 PM
Unknown Object (File)
Sun, May 17, 9:42 AM
Unknown Object (File)
Mon, May 11, 8:46 PM
Unknown Object (File)
Mon, May 11, 7:52 PM
Unknown Object (File)
Mon, May 11, 7:41 PM
Unknown Object (File)
Sun, May 10, 11:20 AM
Subscribers

Details

Summary

According to POSIX, the optional third argument is the minimum number
of digits to print regardless of sign. We interpreted it as the minimum
width of the output including the sign. Additionally, the variable used
to hold this value was confusingly named “maxdigits”.

PR: 293214
MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable