]> Dogcows Code - chaz/tar/commitdiff
Minor fix.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 27 Jun 2010 21:04:49 +0000 (00:04 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 27 Jun 2010 21:04:49 +0000 (00:04 +0300)
* src/buffer.c (magic): Split the character constant to help
cc recognize character boundaries (7 is a valid hex character).

src/buffer.c

index 5b7cbc7d8e32564f114ae72f7064a17c67331406..444f61251f8fec9a09719784c609f5c2732ba2a5 100644 (file)
@@ -225,7 +225,7 @@ static struct zip_magic const magic[] = {
   { ct_lzip,     4, "LZIP",      LZIP_PROGRAM,     "--lzip" },
   { ct_lzma,     6, "\xFFLZMA",  LZMA_PROGRAM,     "--lzma" },
   { ct_lzop,     4, "\211LZO",   LZOP_PROGRAM,     "--lzop" },
-  { ct_xz,       6, "\xFD7zXZ",  XZ_PROGRAM,       "-J" },
+  { ct_xz,       6, "\xFD" "7zXZ",  XZ_PROGRAM,       "-J" },
 };
 
 #define NMAGIC (sizeof(magic)/sizeof(magic[0]))
This page took 0.030278 seconds and 4 git commands to generate.