From owner-svn-src-vendor@freebsd.org Tue Oct 23 11:34:16 2018 Return-Path: Delivered-To: svn-src-vendor@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59DAA1076045; Tue, 23 Oct 2018 11:34:16 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0BBD76E12; Tue, 23 Oct 2018 11:34:15 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E5F9975E0; Tue, 23 Oct 2018 11:34:15 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9NBYFAm066595; Tue, 23 Oct 2018 11:34:15 GMT (envelope-from mm@FreeBSD.org) Received: (from mm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9NBYFD4066594; Tue, 23 Oct 2018 11:34:15 GMT (envelope-from mm@FreeBSD.org) Message-Id: <201810231134.w9NBYFD4066594@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mm set sender to mm@FreeBSD.org using -f From: Martin Matuska Date: Tue, 23 Oct 2018 11:34:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r339641 - vendor/libarchive/dist/libarchive X-SVN-Group: vendor X-SVN-Commit-Author: mm X-SVN-Commit-Paths: vendor/libarchive/dist/libarchive X-SVN-Commit-Revision: 339641 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 11:34:16 -0000 Author: mm Date: Tue Oct 23 11:34:15 2018 New Revision: 339641 URL: https://svnweb.freebsd.org/changeset/base/339641 Log: Update vendor/libarchive/dist to git 58ae9e02093aa47dc6eb27a66d4e95b05e9e672e Relevant ventor changes: RAR5 reader: declare some constants static Modified: vendor/libarchive/dist/libarchive/archive_read_support_format_rar5.c Modified: vendor/libarchive/dist/libarchive/archive_read_support_format_rar5.c ============================================================================== --- vendor/libarchive/dist/libarchive/archive_read_support_format_rar5.c Tue Oct 23 10:58:07 2018 (r339640) +++ vendor/libarchive/dist/libarchive/archive_read_support_format_rar5.c Tue Oct 23 11:34:15 2018 (r339641) @@ -75,10 +75,10 @@ * * The array itself is decrypted in `rar5_init` function. */ -unsigned char rar5_signature[] = { 243, 192, 211, 128, 187, 166, 160, 161 }; -const ssize_t rar5_signature_size = sizeof(rar5_signature); -const size_t g_unpack_buf_chunk_size = 1024; -const size_t g_unpack_window_size = 0x20000; +static unsigned char rar5_signature[] = { 243, 192, 211, 128, 187, 166, 160, 161 }; +static const ssize_t rar5_signature_size = sizeof(rar5_signature); +static const size_t g_unpack_buf_chunk_size = 1024; +static const size_t g_unpack_window_size = 0x20000; struct file_header { ssize_t bytes_remaining;