39650788d6
I'm here.
53 lines
1.6 KiB
Text
53 lines
1.6 KiB
Text
--- bzip.c.orig Sat Sep 28 03:32:05 1996
|
|
+++ bzip.c Sat Sep 28 03:37:53 1996
|
|
@@ -114,6 +114,7 @@
|
|
--*/
|
|
|
|
#if BZ_UNIX_32
|
|
+ #include <sys/types.h>
|
|
#include <utime.h>
|
|
#include <unistd.h>
|
|
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) /* stdlib already included above */
|
|
@@ -2580,7 +2581,7 @@
|
|
|
|
|
|
/*---------------------------------------------*/
|
|
-void mySignalCatcher ( IntNative *n )
|
|
+void mySignalCatcher (int n __unused)
|
|
{
|
|
fprintf ( stderr,
|
|
"\n%s: Control-C (or similar) caught, quitting.\n",
|
|
@@ -2590,7 +2591,7 @@
|
|
|
|
|
|
/*---------------------------------------------*/
|
|
-void mySIGSEGVorSIGBUScatcher ( IntNative *n )
|
|
+void mySIGSEGVorSIGBUScatcher (int n __unused)
|
|
{
|
|
if (compressing)
|
|
fprintf ( stderr,
|
|
@@ -3132,11 +3133,6 @@
|
|
signal (SIGBUS, mySIGSEGVorSIGBUScatcher);
|
|
#endif
|
|
|
|
- if ( ! (argc > 1 && strcmp ( "-Q", argv[1] ) == 0) )
|
|
- fprintf ( stderr,
|
|
- "BZIP, a block-sorting file compressor. "
|
|
- "Version 0.21, 25-August-96.\n" );
|
|
-
|
|
#if DEBUG
|
|
if ( ! (argc > 1 && strcmp ( "-Q", argv[1] ) == 0) )
|
|
fprintf ( stderr, "BZIP: *** compiled with debugging ON ***\n" );
|
|
@@ -3206,6 +3202,12 @@
|
|
exit ( 1 );
|
|
break;
|
|
}
|
|
+
|
|
+ if (verbose) {
|
|
+ fprintf ( stderr,
|
|
+ "BZIP, a block-sorting file compressor. "
|
|
+ "Version 0.21, 25-August-96.\n" );
|
|
+ }
|
|
|
|
if ( opMode == OM_FILE_TO_STDOUT && numFileNames != 1) {
|
|
fprintf ( stderr, "%s: Option -c requires you to supply exactly one filename.\n",
|