From f5b07d7543429bd87e805ddd7f5fcd89115df638 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 21 Oct 2005 03:00:08 +0000 Subject: [PATCH] reset signal handlers for child SVN revision: 17718 --- src/bin/e_fileman_icon.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/e_fileman_icon.c b/src/bin/e_fileman_icon.c index fb9308711..1300af1d8 100644 --- a/src/bin/e_fileman_icon.c +++ b/src/bin/e_fileman_icon.c @@ -467,6 +467,12 @@ _e_fm_icon_thumb_generate(void) pid = fork(); if (pid == 0) { + /* reset signal handlers for the child */ + signal(SIGSEGV, SIG_DFL); + signal(SIGILL, SIG_DFL); + signal(SIGFPE, SIG_DFL); + signal(SIGBUS, SIG_DFL); + sd = thumb_files->data; if (!e_thumb_exists(sd->file->path)) e_thumb_create(sd->file->path, 48, 48); // thumbnail size