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
F106879162: D41021.diff
Mon, Jan 6, 8:16 PM
Unknown Object (File)
Wed, Dec 11, 10:02 PM
Unknown Object (File)
Nov 6 2024, 9:54 PM
Unknown Object (File)
Oct 1 2024, 3:48 PM
Unknown Object (File)
Oct 1 2024, 3:41 PM
Unknown Object (File)
Oct 1 2024, 1:24 PM
Unknown Object (File)
Sep 28 2024, 1:18 PM
Unknown Object (File)
Sep 28 2024, 1:18 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52624
Build 49515: arc lint + arc unit