Page MenuHomeFreeBSD

mtree: Fix FreeBSD 9 compatibility output
Needs ReviewPublic

Authored by jlduran on Sat, Dec 13, 2:42 PM.

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