Repository navigation
tail: clamp huge --max-unchanged-stats values - #16037
Conversation
9e7cff9 to
d0aefba
Compare
d0aefba to
33e7897
Compare
|
Used |
33e7897 to
364334e
Compare
364334e to
0e4e3c4
Compare
|
Failure The Reason This PR only changes |
|
Failure The Reason This is the known intermittent failure tracked in #15568: the report contains the same command ( |
|
Thanks for your PR |
Problem
A huge value such as tail --max-unchanged-stats=99999999999999999999 was rejected, while GNU clamps it and runs normally.
Change
Parse the value as a wide integer and clamp it to u32::MAX instead of failing. Added a regression test.
Closes #16007