aboutsummaryrefslogtreecommitdiff
path: root/unzip/bsdunzip_platform.h
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2023-07-29 18:13:53 +0000
committerMartin Matuska <mm@FreeBSD.org>2023-07-29 18:19:08 +0000
commit70968ea087e76e4f6101a83ccf2fa0b0bf686229 (patch)
tree7d975f9f9b3717e8a222f7a338cbc1cd840a7f54 /unzip/bsdunzip_platform.h
parent14b646f7c3f709cd0de2d59db3691273bc8d6d16 (diff)
downloadsrc-70968ea087e76e4f6101a83ccf2fa0b0bf686229.tar.gz
src-70968ea087e76e4f6101a83ccf2fa0b0bf686229.zip
Update vendor/libarchive to libarchive/libarchive@0e1e2b926
Important bugfixes (relevant to FreeBSD): ISSUE #1934: stack buffer overflow in cpio verbose mode ISSUE #1935: SEGV in cpio verbose mode PR #1731 tar: respect --strip-components and -s patterns in cru modes Obtained from: libarchive Libarchive commit: 0e1e2b926aad81512a79a05c791b9dc7e0fa8715 Libarchive tag: v3.7.1
Diffstat (limited to 'unzip/bsdunzip_platform.h')
-rw-r--r--unzip/bsdunzip_platform.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/unzip/bsdunzip_platform.h b/unzip/bsdunzip_platform.h
index 5aff5f208eab..76eca4f90902 100644
--- a/unzip/bsdunzip_platform.h
+++ b/unzip/bsdunzip_platform.h
@@ -62,14 +62,6 @@
#include "archive_entry.h"
#endif
-#ifndef HAVE_GETOPT_OPTRESET
-/*
- * If platform doesn't use optreset for resetting getopt, declare it so
- * C source doesn't have to know this platform-specific difference
- */
-int optreset;
-#endif
-
/* How to mark functions that don't return. */
/* This facilitates use of some newer static code analysis tools. */
#undef __LA_DEAD