projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7434f
)
reset signal handlers for child
author
Carsten Haitzler
<raster@rasterman.com>
Fri, 21 Oct 2005 03:00:08 +0000
(
03:00
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Fri, 21 Oct 2005 03:00:08 +0000
(
03:00
+0000)
SVN revision: 17718
src/bin/e_fileman_icon.c
patch
|
blob
|
history
diff --git
a/src/bin/e_fileman_icon.c
b/src/bin/e_fileman_icon.c
index
fb93087
..
1300af1
100644
(file)
--- 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