diff options
| author | codicodi <rob.ceglinski@gmail.com> | 2017-04-05 16:06:42 +0200 |
|---|---|---|
| committer | codicodi <rob.ceglinski@gmail.com> | 2017-04-05 16:06:42 +0200 |
| commit | 84518495ce95fb744c3cf85d548c7172db91b768 (patch) | |
| tree | 66f7652437c9079c1fb53cf6f411841a3f087eec /ports/libarchive/use-memset-not-bzero.patch | |
| parent | d9a403453904261c6b34c5d33557134b9fe3a8a0 (diff) | |
| download | vcpkg-84518495ce95fb744c3cf85d548c7172db91b768.tar.gz vcpkg-84518495ce95fb744c3cf85d548c7172db91b768.zip | |
[libarchive] update to 3.3.1
Diffstat (limited to 'ports/libarchive/use-memset-not-bzero.patch')
| -rw-r--r-- | ports/libarchive/use-memset-not-bzero.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ports/libarchive/use-memset-not-bzero.patch b/ports/libarchive/use-memset-not-bzero.patch deleted file mode 100644 index d28ab7409..000000000 --- a/ports/libarchive/use-memset-not-bzero.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/libarchive/archive_write_add_filter_xz.c b/libarchive/archive_write_add_filter_xz.c -index 46a6c38..b0f25a6 100644 ---- a/libarchive/archive_write_add_filter_xz.c -+++ b/libarchive/archive_write_add_filter_xz.c -@@ -233,7 +233,7 @@ archive_compressor_xz_init_stream(struct archive_write_filter *f, - if (f->code == ARCHIVE_FILTER_XZ) { - #ifdef HAVE_LZMA_STREAM_ENCODER_MT - if (data->threads != 1) { -- bzero(&mt_options, sizeof(mt_options)); -+ memset(&mt_options, 0, sizeof(mt_options)); - mt_options.threads = data->threads; - mt_options.timeout = 300; - mt_options.filters = data->lzmafilters; -diff --git a/libarchive/archive_write_set_format_xar.c b/libarchive/archive_write_set_format_xar.c -index a2dbc03..15a013c 100644 ---- a/libarchive/archive_write_set_format_xar.c -+++ b/libarchive/archive_write_set_format_xar.c -@@ -2913,7 +2913,7 @@ compression_init_encoder_xz(struct archive *a, - *strm = lzma_init_data; - #ifdef HAVE_LZMA_STREAM_ENCODER_MT - if (threads > 1) { -- bzero(&mt_options, sizeof(mt_options)); -+ memset(&mt_options, 0, sizeof(mt_options)); - mt_options.threads = threads; - mt_options.timeout = 300; - mt_options.filters = lzmafilters; |
