[darwinbuild-changes] [466] branches/PR-6497694/darwinup/Depot.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jan 27 17:14:28 PST 2009
Revision: 466
http://trac.macosforge.org/projects/darwinbuild/changeset/466
Author: wsiegrist at apple.com
Date: 2009-01-27 17:14:28 -0800 (Tue, 27 Jan 2009)
Log Message:
-----------
Protect more files during the archive process
Modified Paths:
--------------
branches/PR-6497694/darwinup/Depot.cpp
Modified: branches/PR-6497694/darwinup/Depot.cpp
===================================================================
--- branches/PR-6497694/darwinup/Depot.cpp 2009-01-28 00:33:43 UTC (rev 465)
+++ branches/PR-6497694/darwinup/Depot.cpp 2009-01-28 01:14:28 UTC (rev 466)
@@ -428,11 +428,17 @@
// Copy libraries gnutar uses since we need to use gnutar before they are replaced
int i = 0;
bool docopy = false;
- const char* tarlibs[] = {"/usr/lib/libSystem.B.dylib",
+ const char* tarfiles[] = {"/usr/bin/tar",
+ "/usr/bin/gnutar",
+ "/usr/bin/bsdtar",
+ "/usr/lib/libarchive.2.dylib",
+ "/usr/lib/libbz2.1.0.dylib",
+ "/usr/lib/libz.1.dylib",
+ "/usr/lib/libSystem.B.dylib",
"/usr/lib/libiconv.2.dylib",
"/usr/lib/libgcc_s.1.dylib"};
for (i = 0; i < 3; i++) {
- if (strncmp(tarlibs[i], file->path(), strlen(tarlibs[i])) == 0) {
+ if (strncmp(tarfiles[i], file->path(), strlen(tarfiles[i])) == 0) {
docopy = true;
break;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20090127/fbc0164f/attachment.html>
More information about the darwinbuild-changes
mailing list