Page MenuHomeFreeBSD

etcupdate: Prefer POSIX -depth to BSD -d
ClosedPublic

Authored by jrtc27 on Jul 19 2022, 6:18 PM.
Tags
None
Referenced Files
F154307682: D35856.id108341.diff
Mon, Apr 27, 6:03 PM
F154280766: D35856.diff
Mon, Apr 27, 2:04 PM
Unknown Object (File)
Sun, Apr 19, 12:25 PM
Unknown Object (File)
Sun, Apr 19, 12:25 PM
Unknown Object (File)
Sun, Apr 19, 12:25 PM
Unknown Object (File)
Sat, Apr 18, 10:55 PM
Unknown Object (File)
Wed, Apr 15, 1:31 AM
Unknown Object (File)
Sat, Apr 11, 12:22 PM
Subscribers

Details

Summary

This is in preparation for building an etcupdate tree on non-FreeBSD
when building release images. The -d option is documented as a
BSD-specific equivalent to the POSIX -depth primary. Whilst GNU find
sort of accepts it in an attempt to be compatible, it still doesn't
permit it coming before the paths, unlike BSD find, and prints a
deprecation warning either way. Thus, use the equivalent POSIX -depth to
ensure it works correctly and without warning everywhere.

Obtained from: CheriBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable