aboutsummaryrefslogtreecommitdiffstats
path: root/tar/write.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2018-07-28 23:47:22 +0000
committerMartin Matuska <mm@FreeBSD.org>2018-07-28 23:47:22 +0000
commit0b7a6fc00bac0c873d5e00bc28ede661abc54f4e (patch)
treec23f0dc17d95dd8215e2314876db5a11ebd78578 /tar/write.c
parent032a8914c1034da8875307405dfd591a1b96137c (diff)
downloadsrc-0b7a6fc00bac0c873d5e00bc28ede661abc54f4e.tar.gz
src-0b7a6fc00bac0c873d5e00bc28ede661abc54f4e.zip
Update vendor/libarchive/dist to git 2c8c83b9731ff822fad6cc8c670ea5519c366a14
Important vendor changes: PR #993: Chdir to -C directory for metalog processing OSS-Fuzz #4969: Check size of the extended time field in zip archives PR #973: Record informational compression level in gzip header
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=336851
Diffstat (limited to 'tar/write.c')
-rw-r--r--tar/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/write.c b/tar/write.c
index 9c2456625271..e15cc06ccfc4 100644
--- a/tar/write.c
+++ b/tar/write.c
@@ -503,7 +503,7 @@ write_archive(struct archive *a, struct bsdtar *bsdtar)
}
set_chdir(bsdtar, arg);
} else {
- if (*arg != '/' && (arg[0] != '@' || arg[1] != '/'))
+ if (*arg != '/')
do_chdir(bsdtar); /* Handle a deferred -C */
if (*arg == '@') {
if (append_archive_filename(bsdtar, a,