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
F133119195: D41021.id.diff
Thu, Oct 23, 3:26 AM
Unknown Object (File)
Fri, Oct 17, 4:44 PM
Unknown Object (File)
Sat, Oct 11, 12:20 AM
Unknown Object (File)
Wed, Oct 1, 9:29 PM
Unknown Object (File)
Aug 14 2025, 10:19 PM
Unknown Object (File)
Aug 4 2025, 3:22 AM
Unknown Object (File)
Jul 5 2025, 10:51 PM
Unknown Object (File)
Jul 5 2025, 8:49 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 Not Applicable
Unit
Tests Not Applicable