summaryrefslogtreecommitdiff
path: root/archival/libarchive/unxz
diff options
context:
space:
mode:
authorLasse Collin2013-02-27 16:23:05 +0100
committerDenys Vlasenko2013-02-27 16:23:24 +0100
commit04f296b28a4927efffced38170d92134982566a6 (patch)
treea761ecb41558338d751ea059548b040cc5ebff9b /archival/libarchive/unxz
parente3e321682cd1e9861ba7680e61ab6dadaf1e2e32 (diff)
downloadbusybox-04f296b28a4927efffced38170d92134982566a6.zip
busybox-04f296b28a4927efffced38170d92134982566a6.tar.gz
xz: omit explicit \0 from HEADER_MAGIC
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/unxz')
-rw-r--r--archival/libarchive/unxz/xz_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/unxz/xz_stream.h b/archival/libarchive/unxz/xz_stream.h
index 36f2a7c..2ffaa34 100644
--- a/archival/libarchive/unxz/xz_stream.h
+++ b/archival/libarchive/unxz/xz_stream.h
@@ -25,7 +25,7 @@
#define STREAM_HEADER_SIZE 12
-#define HEADER_MAGIC "\3757zXZ\0"
+#define HEADER_MAGIC "\3757zXZ"
#define HEADER_MAGIC_SIZE 6
#define FOOTER_MAGIC "YZ"