cvs commit: src/lib/libarchive archive_read_support_format_tar.c

Tim Kientzle kientzle at FreeBSD.org
Fri Jun 4 23:24:40 GMT 2004


kientzle    2004/06/04 16:24:21 PDT

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_tar.c 
  Log:
  Correct the layering violation in read_body_to_string.  The previous
  version called the higher-level archive_read_data and
  archive_read_data_skip functions, which screwed up state management of
  those functions.  This bit of mis-design has existed for a long time,
  but became a serious issue with the recent changes to the
  archive_read_data APIs, which added more internal state to the
  high-level archive_read_data function.  Most common symptom was a
  failure to correctly read 'L' entries (long filename) from GNU-style
  archives, causing the message ": Can't open: No such file or
  directory" with an empty filename.
  
  Pointed out by:  Numerous port build failures
  Thanks to: Kris Kennaway
  
  Revision  Changes    Path
  1.17      +24 -17    src/lib/libarchive/archive_read_support_format_tar.c


More information about the cvs-src mailing list