Page MenuHomeFreeBSD

m4: Fix eval output width
ClosedPublic

Authored by des on Feb 16 2026, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 4:56 PM
Unknown Object (File)
Mon, Aug 24, 5:11 PM
Unknown Object (File)
Sat, Aug 22, 4:45 PM
Unknown Object (File)
Fri, Aug 21, 7:24 PM
Unknown Object (File)
Thu, Aug 13, 9:16 PM
Unknown Object (File)
Thu, Aug 13, 5:18 AM
Unknown Object (File)
Tue, Aug 11, 7:13 AM
Unknown Object (File)
Mon, Aug 10, 1:24 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