[PATCH 2/2] debuginfod-find: Restore DEBUGINFOD_PROGRESS behaviour

Mark Wielaard mark@klomp.org
Wed Mar 18 11:47:43 GMT 2026


Hi Aaron,

On Fri, 2026-03-13 at 18:18 -0400, Aaron Merey wrote:
> Commit d7cb72f7 changed debuginfod-find to always set a progress
> callback function in order to handle interrupts during downloading.
> 
> Previously debuginfod-find set a progressfn only when the -v command
> line option was given.  If the DEBUGINFOD_PROGRESS environment variable
> is set, libdebuginfod automatically sets a default progressfn as long as
> no other progressfn has been set using debuginfod_set_progressfn.
> 
> Commit d7cb72f7 therefore resulted in DEBUGINFOD_PROGRESS no longer
> affecting debuginfod-find when invoked without -v.
> 
> This patch restores the old behaviour: when DEBUGINFOD_PROGRESS is set
> and -v is not given, the default progressfn will trigger during
> downloading.

Looks good to me.

Thanks,

Mark


More information about the Elfutils-devel mailing list