git: mtree(8): Replace our mtree(8) with NetBSD's version.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Jul 25 10:41:42 PDT 2018
commit a43287cc892c020da5e640dcf3d1e66475ae6cd4
Author: Sascha Wildner <saw at online.de>
Date: Wed Jul 25 19:41:01 2018 +0200
mtree(8): Replace our mtree(8) with NetBSD's version.
This is a re-commit of 2f6d3139ecacca3533517516db002cf436f78918 with
some bootstrap fixes added so that it builds on systems that do not
yet have strsvis() and a couple of other functions in their libc.
Summary of changes:
usr.sbin/mtree/Makefile | 30 +-
usr.sbin/mtree/compare.c | 592 +++++++++++++++++++----------
usr.sbin/mtree/crc.c | 155 ++++++++
usr.sbin/mtree/create.c | 518 +++++++++++++++-----------
usr.sbin/mtree/excludes.c | 60 +--
usr.sbin/mtree/extern.h | 72 +++-
usr.sbin/mtree/getid.c | 443 ++++++++++++++++++++++
usr.sbin/mtree/misc.c | 250 +++++++++++--
usr.sbin/mtree/mtree.8 | 811 ++++++++++++++++++++++++++++++----------
usr.sbin/mtree/mtree.c | 231 ++++++++++--
usr.sbin/mtree/mtree.h | 128 +++++--
usr.sbin/mtree/only.c | 147 ++++++++
usr.sbin/mtree/pack_dev.c | 285 ++++++++++++++
usr.sbin/mtree/pack_dev.h | 47 +++
usr.sbin/mtree/spec.c | 878 +++++++++++++++++++++++++++++++++++---------
usr.sbin/mtree/specspec.c | 270 ++++++++++++++
usr.sbin/mtree/stat_flags.c | 179 +++++++++
usr.sbin/mtree/verify.c | 206 +++++++----
18 files changed, 4322 insertions(+), 980 deletions(-)
create mode 100644 usr.sbin/mtree/crc.c
create mode 100644 usr.sbin/mtree/getid.c
create mode 100644 usr.sbin/mtree/only.c
create mode 100644 usr.sbin/mtree/pack_dev.c
create mode 100644 usr.sbin/mtree/pack_dev.h
create mode 100644 usr.sbin/mtree/specspec.c
create mode 100644 usr.sbin/mtree/stat_flags.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a43287cc892c020da5e640dcf3d1e66475ae6cd4
--
DragonFly BSD source repository
More information about the Commits
mailing list