CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d9e8fd
)
Bug #204: Restore mtime for extracted files.
author
Johannes Weiner
<hannes@saeurebad.de>
Mon, 3 Dec 2007 17:37:50 +0000
(18:37 +0100)
committer
Tilman Sauerbeck
<tilman@crux.nu>
Mon, 3 Dec 2007 17:37:50 +0000
(18:37 +0100)
pkgutil.cc
patch
|
blob
|
blame
|
history
diff --git
a/pkgutil.cc
b/pkgutil.cc
index b3afa5151e6f7c4a76638c100158002bf0fc9d65..216ca531de2dd92d507d474b42b5d3f8ccc70aad 100644
(file)
--- a/
pkgutil.cc
+++ b/
pkgutil.cc
@@
-424,7
+424,7
@@
void pkgutil::pkg_install(const string& filename, const set<string>& keep_list,
(real_filename.c_str()));
// Extract file
- unsigned int flags = ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | ARCHIVE_EXTRACT_UNLINK;
+ unsigned int flags = ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | ARCHIVE_EXTRACT_
TIME | ARCHIVE_EXTRACT_
UNLINK;
if (archive_read_extract(archive, entry, flags) != ARCHIVE_OK) {
// If a file fails to install we just print an error message and