Description of problem: ncompress does not display statistics and compression results in verbose mode when operating on 0 length files, actually it only prints file name but nothing else Version-Release number of selected component (if applicable): ncompress-4.2.4-40 ncompress-4.2.4-41.rhel4 How reproducible: always Steps to Reproduce: $ touch foo $ compress -v foo Actual results: foo: # (without \n) Expected results: foo: No compression -- foo unchanged Additional info: $ echo jkl>bar $ compress -v bar bar: No compression -- bar unchanged $ touch foo $ compress -v foo foo: # (without \n) works fine with the -f parameter $ touch foo $ compres -fv foo foo: -- replaced with foo.Z Compression: 100.00%
Created attachment 128078 [details] this patch fix both #189215 and #1892156
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0663.html