From 66b36021e6ffd62450c446682688aff4ff0d19d1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 17 Mar 2010 19:45:20 +0000 Subject: segfaults not reproducible --- it.class | 4 ---- 1 file changed, 4 deletions(-) diff --git a/it.class b/it.class index fa3eb29..2fc4b35 100644 --- a/it.class +++ b/it.class @@ -525,11 +525,7 @@ static function imageconvert($p) $p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts']; if (in_array($type, explode(',', $p['types']))) # Valid type? - { $cmdoutput = it::exec('convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); - if (it::match('SHELL ERROR 139', $cmdoutput)) # segmentation fault - copy($p['in'], "/tmp/imageconvert.segfault.in"); - } return $cmdoutput === ""; } -- cgit v1.2.3