[packagekit] Endless loop in pk_backend_check_newlines(...)

Richard Hughes hughsient at gmail.com
Thu Feb 28 09:49:42 PST 2008


On Thu, 2008-02-28 at 17:05 +0100, Stefan Haas wrote:
> If there is an old paragraph separator (;;) or a double space in the
> text to check pk_backend_message(...) will be called with the text as a
> parameter. But pk_backend_message() itself also calls
> pk_backend_check_newline() with the text as a parameter and the endless
> loop  starts ....

Ahh, gotcha.

> Should the '%s' be removed in the call of pk_backend_message() or would
> you prefer not to call pk_backend_check_newlines() out of
> pk_backend_message()?

I've removed the %s, and pushed to master. Cheers for debugging this.

Richard.





More information about the PackageKit mailing list