PERFORCE change 176819 for review

Garrett Cooper gcooper at FreeBSD.org
Sun Apr 11 21:25:46 UTC 2010


http://p4web.freebsd.org/@@176819?ac=10

Change 176819 by gcooper at gcooper-bayonetta on 2010/04/11 21:24:55

	tar -p also preserves ACLS, fflags, and xattrs; add the appropriate options to the archive(3) call.

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/file.c#8 edit

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/lib/file.c#8 (text+ko) ====

@@ -337,7 +337,9 @@
     }
 }
 
-#define EXTRACT_ARCHIVE_FLAGS	(ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | ARCHIVE_EXTRACT_TIME)
+#define EXTRACT_ARCHIVE_FLAGS	(ARCHIVE_EXTRACT_OWNER |ARCHIVE_EXTRACT_PERM| \
+				 ARCHIVE_EXTRACT_TIME  |ARCHIVE_EXTRACT_ACL | \
+				 ARCHIVE_EXTRACT_FFLAGS|ARCHIVE_EXTRACT_XATTR)
 
 /* Unpack a tar file */
 int


More information about the p4-projects mailing list