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)
Mon, Apr 14, 8:57 AM
Unknown Object (File)
Mon, Apr 14, 4:09 AM
Unknown Object (File)
Mon, Apr 14, 1:24 AM
Unknown Object (File)
Mon, Apr 14, 1:22 AM
Unknown Object (File)
Feb 5 2025, 9:15 AM
Unknown Object (File)
Feb 4 2025, 10:01 PM
Unknown Object (File)
Jan 27 2025, 5:52 AM
Unknown Object (File)
Jan 11 2025, 9:03 PM
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 Not Applicable
Unit
Tests Not Applicable