Page MenuHomeFreeBSD

m4: Fix eval output width
ClosedPublic

Authored by des on Feb 16 2026, 5:00 PM.
Tags
None
Referenced Files
F169595376: D55311.diff
Wed, Sep 2, 12:45 AM
Unknown Object (File)
Mon, Aug 31, 12:27 PM
Unknown Object (File)
Mon, Aug 31, 12:55 AM
Unknown Object (File)
Sat, Aug 29, 12:27 PM
Unknown Object (File)
Sat, Aug 29, 12:46 AM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70708
Build 67591: arc lint + arc unit