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
F144302749: D41021.id124632.diff
Sat, Feb 7, 6:04 PM
F144299267: D41021.id124622.diff
Sat, Feb 7, 5:32 PM
Unknown Object (File)
Fri, Jan 30, 9:04 PM
Unknown Object (File)
Fri, Jan 30, 11:51 AM
Unknown Object (File)
Jan 1 2026, 10:29 AM
Unknown Object (File)
Dec 14 2025, 2:58 AM
Unknown Object (File)
Dec 2 2025, 5:03 PM
Unknown Object (File)
Nov 22 2025, 4:14 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52624
Build 49515: arc lint + arc unit