mkg@whuxle.UUCP (Marsh Gosnell) (09/25/84)
compress.c insists on generating a newline to stderr even in quiet mode.
Here is a fix that eliminates the newline. The change is necessary because
the System V release 2 cron will send the owner of the cron entry mail if
there is any output from the command. No mail is sent if there is no output.
This provides a nifty mechanism for cron entries to be silent unless something
breaks (e.g., no output except if an error is detected).
Here is the results of 'diff ocompress.c compress.c':
339d338
< putc('\n', stderr);
490c489
< fprintf( stderr, "Compression: %5.2f%%",
---
> fprintf( stderr, "Compression: %5.2f%%\n",
Marsh Gosnell ihnp4!whuxlk!mkg