diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r-- | xdelta3/xdelta3-main.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 8d32938..022ede0 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* xdelta3 - delta compression tools and library | 1 | /* xdelta3 - delta compression tools and library |
2 | * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | 2 | * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
3 | * 2009, 2010, 2011, 2012 Joshua P. MacDonald | 3 | * 2009, 2010, 2011, 2012, 2013 Joshua P. MacDonald |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -296,10 +296,7 @@ static main_extcomp extcomp_types[] = | |||
296 | { "gzip", "-c", "gzip", "-dc", "G", "\037\213", 2, 0 }, | 296 | { "gzip", "-c", "gzip", "-dc", "G", "\037\213", 2, 0 }, |
297 | { "compress", "-c", "uncompress", "-c", "Z", "\037\235", 2, 0 }, | 297 | { "compress", "-c", "uncompress", "-c", "Z", "\037\235", 2, 0 }, |
298 | 298 | ||
299 | /* TODO: add commandline support for magic-less formats */ | 299 | /* Xz is lzma with a magic number http://tukaani.org/xz/format.html */ |
300 | /*{ "lzma", "-c", "lzma", "-dc", "M", "]\000", 2, 0 },*/ | ||
301 | |||
302 | /* Xz is lzma with a magic number http://tukaani.org/xz/ */ | ||
303 | { "xz", "-c", "xz", "-dc", "Y", "\xfd\x37\x7a\x58\x5a\x00", 2, 0 }, | 300 | { "xz", "-c", "xz", "-dc", "Y", "\xfd\x37\x7a\x58\x5a\x00", 2, 0 }, |
304 | }; | 301 | }; |
305 | 302 | ||
@@ -360,8 +357,8 @@ xprintf (const char *fmt, ...) | |||
360 | static int | 357 | static int |
361 | main_version (void) | 358 | main_version (void) |
362 | { | 359 | { |
363 | /* $Format: " XPR(NTR \"Xdelta version $Xdelta3Version$, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, Joshua MacDonald\\n\");" $ */ | 360 | /* $Format: " XPR(NTR \"Xdelta version $Xdelta3Version$, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, Joshua MacDonald\\n\");" $ */ |
364 | XPR(NTR "Xdelta version 3.0.6, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, Joshua MacDonald\n"); | 361 | XPR(NTR "Xdelta version 3.0.7, Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Joshua MacDonald\n"); |
365 | XPR(NTR "Xdelta comes with ABSOLUTELY NO WARRANTY.\n"); | 362 | XPR(NTR "Xdelta comes with ABSOLUTELY NO WARRANTY.\n"); |
366 | XPR(NTR "This is free software, and you are welcome to redistribute it\n"); | 363 | XPR(NTR "This is free software, and you are welcome to redistribute it\n"); |
367 | XPR(NTR "under certain conditions; see \"COPYING\" for details.\n"); | 364 | XPR(NTR "under certain conditions; see \"COPYING\" for details.\n"); |