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
F97859874: D41021.diff
Tue, Oct 1, 1:24 PM
Unknown Object (File)
Sat, Sep 28, 1:18 PM
Unknown Object (File)
Sat, Sep 28, 1:18 PM
Unknown Object (File)
Sat, Sep 28, 1:18 PM
Unknown Object (File)
Sat, Sep 28, 1:07 PM
Unknown Object (File)
Tue, Sep 24, 7:32 AM
Unknown Object (File)
Wed, Sep 18, 1:17 AM
Unknown Object (File)
Tue, Sep 17, 8:23 PM

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