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

Tim Kientzle kientzle at
Mon Aug 11 03:00:48 UTC 2008

kientzle    2008-08-11 03:00:44 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libarchive       archive_entry.c 
    lib/libarchive/test  Makefile test_entry.c 
  Added files:           (Branch: RELENG_6)
    lib/libarchive/test  test_pax_filename_encoding.c 
  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   +8 -1      src/lib/libarchive/archive_entry.c  +240 -209  src/lib/libarchive/archive_read_support_format_tar.c   +126 -50   src/lib/libarchive/archive_write_set_format_pax.c   +1 -0      src/lib/libarchive/test/Makefile    +35 -0     src/lib/libarchive/test/test_entry.c    +169 -0    src/lib/libarchive/test/test_pax_filename_encoding.c (new)    +10 -0     src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu (new)

More information about the cvs-all mailing list