Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 03:19:01 +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_read_extract.c
Message-ID:  <200406270319.i5R3J1BA086627@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2004-06-27 03:19:01 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_extract.c 
  Log:
  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



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