aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/filter_fork.h
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2020-05-20 16:13:02 +0000
committerMartin Matuska <mm@FreeBSD.org>2020-05-20 16:13:02 +0000
commite117869ad30ae48ff0943c9497c626fddbc899ba (patch)
tree432435807803593d9403f8d1e831a5ce2dc5cc33 /libarchive/filter_fork.h
parentd0916f2d0df0ec41077369eeaefeba50e5e38b0d (diff)
downloadsrc-e117869ad30ae48ff0943c9497c626fddbc899ba.tar.gz
src-e117869ad30ae48ff0943c9497c626fddbc899ba.zip
Update vendor/libarchive/dist to git fc6563f5130d8a7ee1fc27c0e55baef35119f26cvendor/libarchive/3.4.3
Libarchive 3.4.3 Relevant vendor changes: PR #1352: support negative zstd compression levels PR #1359: improve zstd version checking PR #1348: support RHT.security.selinux from GNU tar PR #1357: support for archives compressed with pzstd PR #1367: fix issues in acl tests PR #1372: child handling cleanup PR #1378: fix memory leak from passphrase callback
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=361280 svn path=/vendor/libarchive/3.4.3/; revision=361281; tag=vendor/libarchive/3.4.3
Diffstat (limited to 'libarchive/filter_fork.h')
-rw-r--r--libarchive/filter_fork.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libarchive/filter_fork.h b/libarchive/filter_fork.h
index 908e7cdd4ddd..2bf290c4d9e4 100644
--- a/libarchive/filter_fork.h
+++ b/libarchive/filter_fork.h
@@ -32,8 +32,13 @@
#error This header is only to be used internally to libarchive.
#endif
-pid_t
-__archive_create_child(const char *cmd, int *child_stdin, int *child_stdout);
+int
+__archive_create_child(const char *cmd, int *child_stdin, int *child_stdout,
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ HANDLE *out_child);
+#else
+ pid_t *out_child);
+#endif
void
__archive_check_child(int in, int out);