diff options
author | Urban Müller | 2010-03-17 19:45:20 +0000 |
---|---|---|
committer | Urban Müller | 2010-03-17 19:45:20 +0000 |
commit | 66b36021e6ffd62450c446682688aff4ff0d19d1 (patch) | |
tree | fcfe7713445c0127e0d9e1b8808418b7c2e0ee02 | |
parent | 26d4c1ac3abd8638537d16506c7ec24101c59811 (diff) | |
download | itools-66b36021e6ffd62450c446682688aff4ff0d19d1.tar.gz itools-66b36021e6ffd62450c446682688aff4ff0d19d1.tar.bz2 itools-66b36021e6ffd62450c446682688aff4ff0d19d1.zip |
segfaults not reproducible
-rw-r--r-- | it.class | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 === ""; } |