[git commit] xz: omit explicit \0 from HEADER_MAGIC

Denys Vlasenko vda.linux at googlemail.com
Wed Feb 27 15:23:24 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=04f296b28a4927efffced38170d92134982566a6
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Lasse Collin <lasse.collin at tukaani.org>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 archival/libarchive/unxz/xz_stream.h |    2 +-
 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"


More information about the busybox-cvs mailing list