[Clamav-devel] Patch to force freshclam download progress meter

Mark Allan markjallan at gmail.com
Tue Dec 15 09:24:14 EST 2015

Hi all,

With the release of 0.99, I got caught out by a change to freshclam's output.  The end result is the same (defs do/don't get updated) so none of my automated tests caught it, but when you actually sit and watch the output, I'm not getting the download progress meter in my GUI any more.

The change that tripped it up was commit #cf5ba11 - Avoid emitting incremental progress messages when not outputting to a terminal.

I've included a patch which works against 0.99 stable as well as current HEAD (#1f85811) to add a new command line flag --show-progress to freshclam to force the output of the progress meter if freshclam isn't being called via a terminal.

Hopefully the additional flag won't cause problems for anyone, so it would be really great if the patch could be included please.

Many thanks,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freshclam_show-progress.patch
Type: application/octet-stream
Size: 3651 bytes
Desc: not available
URL: <http://lists.clamav.net/pipermail/clamav-devel/attachments/20151215/71db7819/attachment.obj>

More information about the clamav-devel mailing list