cvs commit: src/lib/libarchive archive_read_extract.c

Tim Kientzle kientzle at
Sat Jun 26 20:19:05 PDT 2004

kientzle    2004-06-27 03:19:01 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_extract.c 
  Unify mkdirpath (used to automatically create missing parent dirs) and
  read_extract_dir (which creates directories in the archive).  This
  brings a number of advantages:
   * FINALLY fix the problems creating dirs ending in "/."  <sigh>
   * Missing parent dirs now get created securely, just like explicit dirs.
     (Created 0700 initially, then edited to 0755 at end of extraction.)
   * Eliminate some duplicate code and some weird special cases.
  While I'm cleaning, inline the regular-file creation code as well.
  Revision  Changes    Path
  1.21      +126 -215  src/lib/libarchive/archive_read_extract.c

More information about the cvs-src mailing list