aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tar/patches/001-fix-macos-vasnprintf.patch
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-01-19 18:55:28 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-01-20 20:22:01 +0100
commite787ad5c9658deb1baae7ebb1f86bfbe219cb13f (patch)
tree6ce3ac9a284b754a0afa69aa0c187d55544387c7 /tools/tar/patches/001-fix-macos-vasnprintf.patch
parenta30370bbf114b54df1906a39b0ebb76ba0e53a8e (diff)
downloadupstream-e787ad5c9658deb1baae7ebb1f86bfbe219cb13f.tar.gz
upstream-e787ad5c9658deb1baae7ebb1f86bfbe219cb13f.tar.bz2
upstream-e787ad5c9658deb1baae7ebb1f86bfbe219cb13f.zip
tools/tar: update to 1.30
update GNU tar to 1.30 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'tools/tar/patches/001-fix-macos-vasnprintf.patch')
-rw-r--r--tools/tar/patches/001-fix-macos-vasnprintf.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/tar/patches/001-fix-macos-vasnprintf.patch b/tools/tar/patches/001-fix-macos-vasnprintf.patch
deleted file mode 100644
index c7dfbf76e7..0000000000
--- a/tools/tar/patches/001-fix-macos-vasnprintf.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/gnu/vasnprintf.c
-+++ b/gnu/vasnprintf.c
-@@ -4858,7 +4858,11 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *
- #endif
- *fbp = dp->conversion;
- #if USE_SNPRINTF
--# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
-+# if ! (((__GLIBC__ > 2 \
-+ || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \
-+ && !defined __UCLIBC__) \
-+ || (defined __APPLE__ && defined __MACH__) \
-+ || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
- fbp[1] = '%';
- fbp[2] = 'n';
- fbp[3] = '\0';
-@@ -4872,6 +4876,9 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *
- in format strings in writable memory may crash the program
- (if compiled with _FORTIFY_SOURCE=2), so we should avoid it
- in this situation. */
-+ /* macOS 10.13 High Sierra behaves like glibc with
-+ _FORTIFY_SOURCE=2, and older macOS releases
-+ presumably do not need %n. */
- /* On native Windows systems (such as mingw), we can avoid using
- %n because:
- - Although the gl_SNPRINTF_TRUNCATION_C99 test fails,