Page MenuHomeFreeBSD

m4: Fix eval output width
ClosedPublic

Authored by des on Feb 16 2026, 5:00 PM.
Tags
None
Referenced Files
F159996257: D55311.diff
Sat, Jun 20, 9:07 AM
Unknown Object (File)
Tue, Jun 16, 8:33 AM
Unknown Object (File)
Mon, Jun 15, 2:20 PM
Unknown Object (File)
Mon, Jun 15, 2:14 PM
Unknown Object (File)
Mon, Jun 15, 2:13 PM
Unknown Object (File)
Wed, Jun 10, 10:37 AM
Unknown Object (File)
May 20 2026, 3:38 PM
Unknown Object (File)
May 20 2026, 2:48 PM
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