From cd0f6b0c939e5098410ddb171db8c4a26cf8d623 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 1 Jul 2010 10:38:10 +0200 Subject: consolidate xz format comment. no code changes Signed-off-by: Denys Vlasenko --- include/unarchive.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/unarchive.h b/include/unarchive.h index 3b8e1575a..b55af6d9d 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -9,6 +9,8 @@ enum { COMPRESS_MAGIC = 0x1f9d, GZIP_MAGIC = 0x1f8b, BZIP2_MAGIC = 'B' * 256 + 'Z', + /* .xz signature: 0xfd, '7', 'z', 'X', 'Z', 0x00 */ + /* More info at: http://tukaani.org/xz/xz-file-format.txt */ XZ_MAGIC1 = 0xfd * 256 + '7', XZ_MAGIC2 = (('z' * 256 + 'X') * 256 + 'Z') * 256 + 0, /* Different form: 32 bits, then 16 bits: */ -- cgit v1.2.3