Page MenuHomeFreeBSD

mtree: Fix FreeBSD 9 compatibility output
AbandonedPublic

Authored by jlduran on Dec 13 2025, 2:42 PM.
Tags
None
Referenced Files
F173952242: D54209.id.diff
Tue, Sep 29, 2:50 PM
F173952066: D54209.diff
Tue, Sep 29, 2:48 PM
Unknown Object (File)
Wed, Sep 23, 2:49 AM
Unknown Object (File)
Sun, Sep 20, 9:53 AM
Unknown Object (File)
Sun, Sep 20, 9:53 AM
Unknown Object (File)
Sat, Sep 5, 4:34 AM
Unknown Object (File)
Sat, Sep 5, 12:27 AM
Unknown Object (File)
Fri, Sep 4, 5:39 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!