The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.8

  • open() and fstat() files before writing headers, to ensure size indicated is the same as size of file archived; the following technique is used to achieve this:
    • 1. open() each inode with O_NOFOLLOW, indiscriminately. If open() returns -1 and sets errno to ELOOP, then use lstat() to obtain symlink inode information.
    • 2. If open() succeeds, use fstat() subsequently, keeping the fd open for the duration of the file archival.
  • Fix a bug in b_find() wherein some error recovery code tried to destroy the same object twice, potentially

Modules

Stream tarball data to a file handle
Make it possible to organize this project in this manner using ExtUtils::MakeMaker

Provides

in lib/Archive/Tar/Builder/UserCache.pm