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:
25efd91
)
Fixed setting up the flags for archive_read_extract().
author
Tilman Sauerbeck
<tilman@crux.nu>
Sat, 2 Dec 2006 00:55:52 +0000
(
01:55
+0100)
committer
Tilman Sauerbeck
<tilman@crux.nu>
Sat, 2 Dec 2006 00:55:52 +0000
(
01:55
+0100)
pkgutil.cc
patch
|
blob
|
blame
|
history
diff --git
a/pkgutil.cc
b/pkgutil.cc
index b4d419bde9a3d04ddf99be010a9c106aeac6d648..f5b430da72d6961c0879964c3a66d9f8ba6f5d2c 100644
(file)
--- a/
pkgutil.cc
+++ b/
pkgutil.cc
@@
-422,7
+422,7
@@
void pkgutil::pkg_install(const string& filename, const set<string>& keep_list,
(real_filename.c_str()));
// Extract file
- if (archive_read_extract(archive, entry, ARCHIVE_EXTRACT_OWNER
&&
ARCHIVE_EXTRACT_PERM) !=
+ if (archive_read_extract(archive, entry, ARCHIVE_EXTRACT_OWNER
|
ARCHIVE_EXTRACT_PERM) !=
ARCHIVE_OK) {
// If a file fails to install we just print an error message and
// continue trying to install the rest of the package.