Comment 12 for bug 1549942

Revision history for this message
Steve Langasek (vorlon) wrote :

> I've had a look at the ImageMagick code to see what MAGICK_THREAD_LIMIT=1
> does, and see that the same thing can be accomplished programmatically by
> calling SetMagickResourceLimit(ThreadResource, 1). I believe that invoking
> this from the php-imagick MINIT function should be sufficient to get correct
> behavior at runtime, not just in the testsuite; I will prepare a patch here
> for testing.

Confirmed that this gives a passing testsuite without having to modify the environment of the testsuite alone. Please find the final debdiff attached for your reference.