xzminidec.c (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | xzminidec.c (f0bd5302dd9e20355beadd0f260ffb926b6ac164) |
---|---|
1/* 2 * Simple XZ decoder command line tool 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 23 unchanged lines hidden (view full) --- 32 if (argc >= 2 && strcmp(argv[1], "--help") == 0) { 33 fputs("Uncompress a .xz file from stdin to stdout.\n" 34 "Arguments other than `--help' are ignored.\n", 35 stdout); 36 return 0; 37 } 38 39 xz_crc32_init(); | 1/* 2 * Simple XZ decoder command line tool 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 23 unchanged lines hidden (view full) --- 32 if (argc >= 2 && strcmp(argv[1], "--help") == 0) { 33 fputs("Uncompress a .xz file from stdin to stdout.\n" 34 "Arguments other than `--help' are ignored.\n", 35 stdout); 36 return 0; 37 } 38 39 xz_crc32_init(); |
40#ifdef XZ_USE_CRC64 41 xz_crc64_init(); 42#endif |
|
40 41 /* 42 * Support up to 64 MiB dictionary. The actually needed memory 43 * is allocated once the headers have been parsed. 44 */ 45 s = xz_dec_init(XZ_DYNALLOC, 1 << 26); 46 if (s == NULL) { 47 msg = "Memory allocation failed\n"; --- 85 unchanged lines hidden --- | 43 44 /* 45 * Support up to 64 MiB dictionary. The actually needed memory 46 * is allocated once the headers have been parsed. 47 */ 48 s = xz_dec_init(XZ_DYNALLOC, 1 << 26); 49 if (s == NULL) { 50 msg = "Memory allocation failed\n"; --- 85 unchanged lines hidden --- |