cvs commit: src/lib/libarchive archive_write_disk.c src/lib/libarchive/test test_write_disk.c

Tim Kientzle kientzle at FreeBSD.org
Thu Sep 20 21:52:43 PDT 2007


kientzle    2007-09-21 04:52:43 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_write_disk.c 
    lib/libarchive/test  test_write_disk.c 
  Log:
  Fix the archive_write_data() function so it always returns
  number of bytes written, even when used to write files to
  disk.  Extend the test suite to verify the correct return
  values for archive_write_data() and archive_write_data_block().
  
  Thanks to: Bruce Mah, for stepping in promptly to back out the
     earlier broken version of this fix
  Thanks to: Colin Percival, for pointing out the correct fix
  MFC after: 5 days
  Approved by: re (ksmith)
  Pointy hat: \me
  
  Revision  Changes    Path
  1.17      +10 -3     src/lib/libarchive/archive_write_disk.c
  1.6       +76 -1     src/lib/libarchive/test/test_write_disk.c


More information about the cvs-src mailing list