aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-19 20:59:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-19 20:59:20 +0000
commit97fd6d81b4f101a32c31c4711fb43d0f5c78c47b (patch)
tree19b05ece7934d71f90b490cff52fdceb39e62f92 /archival/libunarchive
parent6111a8f2e737fea9147cb3fb21613d32d34788bd (diff)
downloadbusybox-97fd6d81b4f101a32c31c4711fb43d0f5c78c47b.tar.gz
ls: fix segfault-if-standalone-shell, add big fat comment.
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/get_header_ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c
index a8a595e08..c691f1b2f 100644
--- a/archival/libunarchive/get_header_ar.c
+++ b/archival/libunarchive/get_header_ar.c
@@ -66,9 +66,9 @@ char get_header_ar(archive_handle_t *archive_handle)
/* long filenames have '/' as the first character */
if (ar.formatted.name[0] == '/') {
+#if ENABLE_FEATURE_AR_LONG_FILENAMES
unsigned long_offset;
-#if ENABLE_FEATURE_AR_LONG_FILENAMES
if (ar.formatted.name[1] == '/') {
/* If the second char is a '/' then this entries data section
* stores long filename for multiple entries, they are stored