cvs commit: src/lib/libarchive archive.h archive_read_extract.c

Tim Kientzle kientzle at FreeBSD.org
Sun Jun 27 16:27:36 PDT 2004


kientzle    2004-06-27 23:27:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive.h archive_read_extract.c 
  Log:
  More cleanup work on permissions restore:
    * Rename some variables/functions/etc to try to make things clearer.
    * Add separate flags to control fflag/acl restore
    * Collect metadata restore into a single function for clarity
    * Propagate errors in metadata restore back out to the client
    * Fix some places where errors were being returned when they
      shouldn't and vice-versa
    * Modes are now always restored; ARCHIVE_EXTRACT_PERM just controls
      whether or not umask is obeyed.
    * Restore suid/sgid bits only if user/group matches archive
    * Cache the last stat results to try to reduce the number of stat calls
  
  Revision  Changes    Path
  1.14      +2 -0      src/lib/libarchive/archive.h
  1.25      +200 -179  src/lib/libarchive/archive_read_extract.c


More information about the cvs-src mailing list