Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: src/xzdec/xzdec.c

Issue 62403002: Update XZ Utils to 5.0.5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/xz/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/xzdec/xzdec.1 ('k') | tests/test_block.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /////////////////////////////////////////////////////////////////////////////// 1 ///////////////////////////////////////////////////////////////////////////////
2 // 2 //
3 /// \file xzdec.c 3 /// \file xzdec.c
4 /// \brief Simple single-threaded tool to uncompress .xz or .lzma files 4 /// \brief Simple single-threaded tool to uncompress .xz or .lzma files
5 // 5 //
6 // Author: Lasse Collin 6 // Author: Lasse Collin
7 // 7 //
8 // This file has been put into the public domain. 8 // This file has been put into the public domain.
9 // You can do whatever you want with this file. 9 // You can do whatever you want with this file.
10 // 10 //
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 va_end(ap); 55 va_end(ap);
56 return; 56 return;
57 } 57 }
58 58
59 59
60 static void lzma_attribute((__noreturn__)) 60 static void lzma_attribute((__noreturn__))
61 help(void) 61 help(void)
62 { 62 {
63 printf( 63 printf(
64 "Usage: %s [OPTION]... [FILE]...\n" 64 "Usage: %s [OPTION]... [FILE]...\n"
65 "Uncompress files in the ." TOOL_FORMAT " format to the standard output.\n" 65 "Decompress files in the ." TOOL_FORMAT " format to standard output.\n"
66 "\n" 66 "\n"
67 " -c, --stdout (ignored)\n" 67 " -d, --decompress (ignored, only decompression is supported)\n"
68 " -d, --decompress (ignored)\n" 68 " -k, --keep (ignored, files are never deleted)\n"
69 " -k, --keep (ignored)\n" 69 " -c, --stdout (ignored, output is always written to standard output)\n"
70 " -q, --quiet specify *twice* to suppress errors\n" 70 " -q, --quiet specify *twice* to suppress errors\n"
71 " -Q, --no-warn (ignored)\n" 71 " -Q, --no-warn (ignored, the exit status 2 is never used)\n"
72 " -h, --help display this help and exit\n" 72 " -h, --help display this help and exit\n"
73 " -V, --version display the version number and exit\n" 73 " -V, --version display the version number and exit\n"
74 "\n" 74 "\n"
75 "With no FILE, or when FILE is -, read standard input.\n" 75 "With no FILE, or when FILE is -, read standard input.\n"
76 "\n" 76 "\n"
77 "Report bugs to <" PACKAGE_BUGREPORT "> (in English or Finnish).\n" 77 "Report bugs to <" PACKAGE_BUGREPORT "> (in English or Finnish).\n"
78 PACKAGE_NAME " home page: <" PACKAGE_URL ">\n", progname); 78 PACKAGE_NAME " home page: <" PACKAGE_URL ">\n", progname);
79 79
80 tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, display_errors); 80 tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, display_errors);
81 } 81 }
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 315
316 #ifndef NDEBUG 316 #ifndef NDEBUG
317 // Free the memory only when debugging. Freeing wastes some time, 317 // Free the memory only when debugging. Freeing wastes some time,
318 // but allows detecting possible memory leaks with Valgrind. 318 // but allows detecting possible memory leaks with Valgrind.
319 lzma_end(&strm); 319 lzma_end(&strm);
320 #endif 320 #endif
321 321
322 tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, display_errors); 322 tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, display_errors);
323 } 323 }
OLDNEW
« no previous file with comments | « src/xzdec/xzdec.1 ('k') | tests/test_block.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698