Page MenuHomeFreeBSD

m4: Fix eval output width
ClosedPublic

Authored by des on Feb 16 2026, 5:00 PM.
Tags
None
Referenced Files
F148804522: D55311.id172069.diff
Fri, Mar 20, 7:29 AM
Unknown Object (File)
Thu, Mar 19, 7:16 AM
Unknown Object (File)
Fri, Mar 13, 7:05 PM
Unknown Object (File)
Wed, Mar 11, 2:58 AM
Unknown Object (File)
Tue, Mar 3, 5:34 AM
Unknown Object (File)
Sun, Mar 1, 4:36 PM
Unknown Object (File)
Sun, Mar 1, 1:01 AM
Unknown Object (File)
Sat, Feb 28, 2:43 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