1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/archivers/bzip/files/patch-ac
Andreas Klemm 173535b87e - use INSTALL_PROGRAM and INSTALL_MAN in Makefile
- add patch-ac to silence bzip when doing compression, bzip version
  info now only with -v or -V
- changed comment in COMMENT. bzip compresses better than gzip, but
  speed is much slower, so it's not generally better as gzip where
  speed matters !
1996-09-28 12:34:45 +00:00

28 lines
929 B
Plaintext

--- bzip.c.orig Sat Sep 28 03:32:05 1996
+++ bzip.c Sat Sep 28 03:37:53 1996
@@ -3132,11 +3132,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 +3201,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",