NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60560 CVS commit: src/external/bsd/libarchive/dist/libarchive



The following reply was made to PR lib/60560; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60560 CVS commit: src/external/bsd/libarchive/dist/libarchive
Date: Fri, 21 Aug 2026 22:12:25 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Aug 21 22:12:25 UTC 2026
 
 Modified Files:
 	src/external/bsd/libarchive/dist/libarchive: archive_string.c
 
 Log Message:
 libarchive: Patch iconv() use to handle POSIX semantics.
 
 Previously it assumed nonstandard GNU semantics, causing tests to
 fail on NetBSD:
 
 /usr/src/external/bsd/libarchive/dist/libarchive/test/test_archive_string_conversion.c:950:
 -1 != r
       -1=-1 (0xffffffffffffffff, 01777777777777777777777)
       r=0 (0x0, 00)
 /usr/src/external/bsd/libarchive/dist/libarchive/test/test_archive_string_conversion.c:951:
 0 != mstr.aes_set & AES_SET_MBS
       0=0 (0x0, 00)
       mstr.aes_set & AES_SET_MBS=1 (0x1, 01)
 
 Upstream bug report:
 Issue #3413: test_archive_string_conversion_fail_c failure despite
 correct iconv(3)
 https://github.com/libarchive/libarchive/issues/3413
 
 Patch proposed upstream:
 Pull request #3416: Treat non-identical conversions in iconv as
 failure.
 https://github.com/libarchive/libarchive/pull/3416
 
 PR lib/60560: libarchive tests are failing
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.8 -r1.2 \
     src/external/bsd/libarchive/dist/libarchive/archive_string.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index