From owner-cvs-src@FreeBSD.ORG Mon Aug 11 03:00:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C1CB1065673; Mon, 11 Aug 2008 03:00:48 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 415D18FC0A; Mon, 11 Aug 2008 03:00:48 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7B30mwq023647; Mon, 11 Aug 2008 03:00:48 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7B30meV023646; Mon, 11 Aug 2008 03:00:48 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200808110300.m7B30meV023646@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Mon, 11 Aug 2008 03:00:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 03:00:48 -0000 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)