Deleted Added
full compact
bzip2recover.c (177421) bzip2recover.c (215041)
1/*-----------------------------------------------------------*/
2/*--- Block recoverer program for bzip2 ---*/
3/*--- bzip2recover.c ---*/
4/*-----------------------------------------------------------*/
5
6/* ------------------------------------------------------------------
7 This file is part of bzip2/libbzip2, a program and library for
8 lossless, block-sorting data compression.
9
1/*-----------------------------------------------------------*/
2/*--- Block recoverer program for bzip2 ---*/
3/*--- bzip2recover.c ---*/
4/*-----------------------------------------------------------*/
5
6/* ------------------------------------------------------------------
7 This file is part of bzip2/libbzip2, a program and library for
8 lossless, block-sorting data compression.
9
10 bzip2/libbzip2 version 1.0.5 of 10 December 2007
11 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
10 bzip2/libbzip2 version 1.0.6 of 6 September 2010
11 Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
12
13 Please read the WARNING, DISCLAIMER and PATENTS sections in the
14 README file.
15
16 This program is released under the terms of the license contained
17 in the file LICENSE.
18 ------------------------------------------------------------------ */
19

--- 288 unchanged lines hidden (view full) ---

308
309 UInt32 buffHi, buffLo, blockCRC;
310 Char* p;
311
312 strcpy ( progName, argv[0] );
313 inFileName[0] = outFileName[0] = 0;
314
315 fprintf ( stderr,
12
13 Please read the WARNING, DISCLAIMER and PATENTS sections in the
14 README file.
15
16 This program is released under the terms of the license contained
17 in the file LICENSE.
18 ------------------------------------------------------------------ */
19

--- 288 unchanged lines hidden (view full) ---

308
309 UInt32 buffHi, buffLo, blockCRC;
310 Char* p;
311
312 strcpy ( progName, argv[0] );
313 inFileName[0] = outFileName[0] = 0;
314
315 fprintf ( stderr,
316 "bzip2recover 1.0.5: extracts blocks from damaged .bz2 files.\n" );
316 "bzip2recover 1.0.6: extracts blocks from damaged .bz2 files.\n" );
317
318 if (argc != 2) {
319 fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n",
320 progName, progName );
321 switch (sizeof(MaybeUInt64)) {
322 case 8:
323 fprintf(stderr,
324 "\trestrictions on size of recovered file: None\n");

--- 190 unchanged lines hidden ---
317
318 if (argc != 2) {
319 fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n",
320 progName, progName );
321 switch (sizeof(MaybeUInt64)) {
322 case 8:
323 fprintf(stderr,
324 "\trestrictions on size of recovered file: None\n");

--- 190 unchanged lines hidden ---