summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2010-03-17 19:45:20 +0000
committerUrban Müller2010-03-17 19:45:20 +0000
commit66b36021e6ffd62450c446682688aff4ff0d19d1 (patch)
treefcfe7713445c0127e0d9e1b8808418b7c2e0ee02 /it.class
parent26d4c1ac3abd8638537d16506c7ec24101c59811 (diff)
downloaditools-66b36021e6ffd62450c446682688aff4ff0d19d1.tar.gz
itools-66b36021e6ffd62450c446682688aff4ff0d19d1.tar.bz2
itools-66b36021e6ffd62450c446682688aff4ff0d19d1.zip
segfaults not reproducible
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 0 insertions, 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 === "";
}