]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mtree: Fix -f -f not considering type changes.
authorBryan Drewery <bdrewery@FreeBSD.org>
Thu, 12 Sep 2019 18:44:48 +0000 (18:44 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Thu, 12 Sep 2019 18:44:48 +0000 (18:44 +0000)
commit4f4b548b1d21ae16955b09f9b717524167a7d97e
treeff505942ea57c1a1801c01e8e13964e685a23111
parentcfd474794f3952b56a65ae45dbb205162f91c610
mtree: Fix -f -f not considering type changes.

This only lists the changed type and not other attributes so that it
matches the behavior of -C as done in r66747 for fmtree. The NetBSD
-ff implementation was copied from fmtree.

Reviewed by: imp
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D21623
contrib/mtree/specspec.c
contrib/netbsd-tests/usr.sbin/mtree/t_mtree.sh
usr.sbin/fmtree/specspec.c