Date: Mon, 11 Aug 2008 03:00:44 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_entry.c archive_read_support_format_tar.c archive_write_set_format_pax.c src/lib/libarchive/test Makefile test_entry.c test_pax_filename_encoding.c test_pax_filename_encoding.tar.gz.uu Message-ID: <200808110300.m7B30meV023646@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2008-08-11 03:00:44 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
lib/libarchive archive_entry.c
archive_read_support_format_tar.c
archive_write_set_format_pax.c
lib/libarchive/test Makefile test_entry.c
Added files: (Branch: RELENG_6)
lib/libarchive/test test_pax_filename_encoding.c
test_pax_filename_encoding.tar.gz.uu
Log:
SVN rev 181574 on 2008-08-11 03:00:44Z by kientzle
MFC r177193, r177199: If the locale of the filename on disk doesn't
match the locale in effect when the archiver is run, then attempts
to convert filenames to UTF-8 can fail and result in truncated filenames
in pax format archives. Detect such failures and fall back on storing
the filename as a binary string in such cases. Read the log message
for r177199 for more details about this problem.
On FreeBSD, using "C" locale is a good workaround.
Revision Changes Path
1.29.2.9 +8 -1 src/lib/libarchive/archive_entry.c
1.32.2.14 +240 -209 src/lib/libarchive/archive_read_support_format_tar.c
1.27.2.5 +126 -50 src/lib/libarchive/archive_write_set_format_pax.c
1.23.2.5 +1 -0 src/lib/libarchive/test/Makefile
1.6.2.4 +35 -0 src/lib/libarchive/test/test_entry.c
1.3.2.1 +169 -0 src/lib/libarchive/test/test_pax_filename_encoding.c (new)
1.2.2.1 +10 -0 src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808110300.m7B30meV023646>
