Page MenuHomeFreeBSD

xargs: fix -R so that it accepts negative numbers again
ClosedPublic

Authored by des on Jul 13 2023, 7:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 22, 4:15 PM
Unknown Object (File)
Sat, Aug 22, 4:14 PM
Unknown Object (File)
Sat, Aug 22, 9:07 AM
Unknown Object (File)
Fri, Aug 21, 9:45 AM
Unknown Object (File)
Mon, Aug 17, 1:03 PM
Unknown Object (File)
Wed, Aug 5, 6:18 AM
Unknown Object (File)
Wed, Aug 5, 2:44 AM
Unknown Object (File)
Tue, Aug 4, 4:02 AM
Subscribers

Details

Summary

fbc445addf9 converted the parsing of arguments to strtonum but made
the accepted range for -R too restrictive. As documented in the man
page, it should accept negative numbers.

Added a test for this, which was provided by Jose Luis Duran.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52624
Build 49515: arc lint + arc unit