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)
Fri, Jan 2, 7:40 AM
Unknown Object (File)
Thu, Dec 25, 11:46 PM
Unknown Object (File)
Thu, Dec 25, 1:06 AM
Unknown Object (File)
Sun, Dec 21, 5:53 AM
Unknown Object (File)
Sat, Dec 20, 11:25 AM
Unknown Object (File)
Sat, Dec 20, 5:34 AM
Unknown Object (File)
Dec 17 2025, 5:00 PM
Unknown Object (File)
Dec 15 2025, 6:15 PM
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!