Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2024 12:37:41 GMT
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4217cc09bdbd - stable/13 - libarchive: fix null format string error in tests (unbreaks gcc13 build)
Message-ID:  <202405041237.444CbfYE072570@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mm:

URL: https://cgit.FreeBSD.org/src/commit/?id=4217cc09bdbd0649d28ad8e0c8899e140085d05d

commit 4217cc09bdbd0649d28ad8e0c8899e140085d05d
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2024-04-17 07:33:13 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-05-04 11:53:07 +0000

    libarchive: fix null format string error in tests (unbreaks gcc13 build)
    
    Obtained from:  libarchive (d43c39247)
    
    (cherry picked from commit 701d0666c03dacba9b73d91dff2a6140e157bdc4)
---
 contrib/libarchive/libarchive/test/test_compat_lzip.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/contrib/libarchive/libarchive/test/test_compat_lzip.c b/contrib/libarchive/libarchive/test/test_compat_lzip.c
index d3b8b118322b..1420e5bb9ac0 100644
--- a/contrib/libarchive/libarchive/test/test_compat_lzip.c
+++ b/contrib/libarchive/libarchive/test/test_compat_lzip.c
@@ -195,7 +195,6 @@ compat_lzip_4(const char *name)
 	assertEqualString("test.bin", archive_entry_pathname(ae));
 
 	/* Verify the end-of-archive. */
-	archive_set_error(a, ARCHIVE_OK, NULL);
 	assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae));
 
 	/* Verify that the format detection worked. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405041237.444CbfYE072570>