aboutsummaryrefslogtreecommitdiff
path: root/bzip2recover.c
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2005-02-15 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2005-02-15 22:13:13 +0100
commit4d540bfc95a4b0eefc1d1f388ec33534aaeb3a2f (patch)
tree3b7e9c650b4c61d114e1716c4698e40d5c8d7ef7 /bzip2recover.c
parent099d844292f60f9d58914da29e5773204dc55e7a (diff)
downloadbzip2-1.0.3.tar.gz
bzip2-1.0.3.tar.bz2
bzip2-1.0.3.zip
bzip2-1.0.3bzip2-1.0.3
Diffstat (limited to 'bzip2recover.c')
-rw-r--r--bzip2recover.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bzip2recover.c b/bzip2recover.c
index 286873b..5cd405d 100644
--- a/bzip2recover.c
+++ b/bzip2recover.c
@@ -7,9 +7,9 @@
7/*-- 7/*--
8 This program is bzip2recover, a program to attempt data 8 This program is bzip2recover, a program to attempt data
9 salvage from damaged files created by the accompanying 9 salvage from damaged files created by the accompanying
10 bzip2-1.0 program. 10 bzip2-1.0.3 program.
11 11
12 Copyright (C) 1996-2002 Julian R Seward. All rights reserved. 12 Copyright (C) 1996-2005 Julian R Seward. All rights reserved.
13 13
14 Redistribution and use in source and binary forms, with or without 14 Redistribution and use in source and binary forms, with or without
15 modification, are permitted provided that the following conditions 15 modification, are permitted provided that the following conditions
@@ -43,8 +43,8 @@
43 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 43 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44 44
45 Julian Seward, Cambridge, UK. 45 Julian Seward, Cambridge, UK.
46 jseward@acm.org 46 jseward@bzip.org
47 bzip2/libbzip2 version 1.0 of 21 March 2000 47 bzip2/libbzip2 version 1.0.3 of 15 February 2005
48--*/ 48--*/
49 49
50/*-- 50/*--
@@ -345,7 +345,7 @@ Int32 main ( Int32 argc, Char** argv )
345 inFileName[0] = outFileName[0] = 0; 345 inFileName[0] = outFileName[0] = 0;
346 346
347 fprintf ( stderr, 347 fprintf ( stderr,
348 "bzip2recover 1.0.2: extracts blocks from damaged .bz2 files.\n" ); 348 "bzip2recover 1.0.3: extracts blocks from damaged .bz2 files.\n" );
349 349
350 if (argc != 2) { 350 if (argc != 2) {
351 fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n", 351 fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n",
@@ -374,7 +374,7 @@ Int32 main ( Int32 argc, Char** argv )
374 if (strlen(argv[1]) >= BZ_MAX_FILENAME-20) { 374 if (strlen(argv[1]) >= BZ_MAX_FILENAME-20) {
375 fprintf ( stderr, 375 fprintf ( stderr,
376 "%s: supplied filename is suspiciously (>= %d chars) long. Bye!\n", 376 "%s: supplied filename is suspiciously (>= %d chars) long. Bye!\n",
377 progName, strlen(argv[1]) ); 377 progName, (int)strlen(argv[1]) );
378 exit(1); 378 exit(1);
379 } 379 }
380 380