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, Sep 26, 2:32 AM
Unknown Object (File)
Fri, Sep 25, 3:51 PM
Unknown Object (File)
Thu, Sep 24, 3:58 PM
Unknown Object (File)
Wed, Sep 16, 9:45 PM
Unknown Object (File)
Aug 22 2026, 4:15 PM
Unknown Object (File)
Aug 22 2026, 4:14 PM
Unknown Object (File)
Aug 22 2026, 9:07 AM
Unknown Object (File)
Aug 21 2026, 9:45 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