Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 16:24:21 -0700 (PDT)
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_read_support_format_tar.c
Message-ID:  <200406042324.i54NOLxe011600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406042324.i54NOLxe011600>