Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2006 05:14:20 +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_private.h archive_write.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_shar.c archive_write_set_format_ustar.c
Message-ID:  <200611150514.kAF5EK7o076586@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2006-11-15 05:14:20 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_private.h archive_write.c 
                         archive_write_set_format_cpio.c 
                         archive_write_set_format_pax.c 
                         archive_write_set_format_shar.c 
                         archive_write_set_format_ustar.c 
  Log:
  Change the internal API for writing data to an entry; make the
  internal format-specific functions return the same as the public
  function, so that the public API layer doesn't have to guess the
  correct return value.  This addresses an obscure problem that occurs
  when someone tries to write more data than the size of the entry (as
  indicated in the entry header).  In this case, the return value from
  archive_write_data() was incorrect, reflecting the requested write
  rather than the amount actually written.
  
  MFC after: 15 days
  
  Revision  Changes    Path
  1.24      +1 -1      src/lib/libarchive/archive_private.h
  1.21      +1 -3      src/lib/libarchive/archive_write.c
  1.8       +6 -3      src/lib/libarchive/archive_write_set_format_cpio.c
  1.36      +6 -3      src/lib/libarchive/archive_write_set_format_pax.c
  1.13      +9 -6      src/lib/libarchive/archive_write_set_format_shar.c
  1.16      +5 -3      src/lib/libarchive/archive_write_set_format_ustar.c



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