Page MenuHomeFreeBSD

mtree: Fix FreeBSD 9 compatibility output
AbandonedPublic

Authored by jlduran on Dec 13 2025, 2:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 19, 7:22 AM
Unknown Object (File)
Tue, Feb 17, 3:35 PM
Unknown Object (File)
Jan 28 2026, 12:32 AM
Unknown Object (File)
Jan 2 2026, 7:40 AM
Unknown Object (File)
Dec 25 2025, 11:46 PM
Unknown Object (File)
Dec 25 2025, 1:06 AM
Unknown Object (File)
Dec 21 2025, 5:53 AM
Unknown Object (File)
Dec 20 2025, 11:25 AM
Subscribers

Details

Reviewers
brooks
emaste
Summary

Fix a closing parenthesis output when using FreeBSD 9 compatibility:

$ mkdir /tmp/foo
$ cd /tmp/foo
$ touch bar
$ mtree -c > /tmp/m
$ chmod 0400 bar
$ mtree -f /tmp/m -F freebsd9
. changed
	modification time expected Tue Dec 13 12:00:00 2025 found Tue Dec 13 12:00:01 2025
bar changed
	permissions expected 0644 found 0400)
	                                    ^

It has already been reported upstream as bin/59826.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69232
Build 66115: arc lint + arc unit

Event Timeline

jlduran edited the summary of this revision. (Show Details)

Upstream has committed a similar fix. It will land on the next vendor import. Thanks!