summaryrefslogtreecommitdiff
path: root/archival/libunarchive/data_extract_all.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-12 17:57:19 +0200
committerDenys Vlasenko2009-09-12 17:57:19 +0200
commitd7686c8c2c849c775007c5de19901ab6b38bd039 (patch)
tree8d4017407166a4f16a0fecd7921a8d03975636bf /archival/libunarchive/data_extract_all.c
parente7aa0d9eca180f77ed4226ecaa1e8961d842add7 (diff)
downloadbusybox-d7686c8c2c849c775007c5de19901ab6b38bd039.zip
busybox-d7686c8c2c849c775007c5de19901ab6b38bd039.tar.gz
Apply post-1.15.0 fixes; bump version to 1.15.11_15_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libunarchive/data_extract_all.c')
-rw-r--r--archival/libunarchive/data_extract_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c
index 123d1de..d79ef7c 100644
--- a/archival/libunarchive/data_extract_all.c
+++ b/archival/libunarchive/data_extract_all.c
@@ -132,7 +132,7 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle)
#endif
lchown(file_header->name, file_header->uid, file_header->gid);
}
- if (S_ISLNK(file_header->mode)) {
+ if (!S_ISLNK(file_header->mode)) {
/* uclibc has no lchmod, glibc is even stranger -
* it has lchmod which seems to do nothing!
* so we use chmod... */