Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4c28fc3052a652da2553e831b24cbdf7 > files > 21

perl-5.8.8-12.2mdv2008.0.src.rpm

--- ./mg.c.tv	2006-09-08 18:24:49.000000000 +0200
+++ ./mg.c	2006-09-08 18:25:16.000000000 +0200
@@ -1246,7 +1246,7 @@
             exit(1);
 #endif
 #endif
-   if (PL_signals & PERL_SIGNALS_UNSAFE_FLAG)
+   if (sig == SIGSEGV || (PL_signals & PERL_SIGNALS_UNSAFE_FLAG))
 	/* Call the perl level handler now--
 	 * with risk we may be in malloc() etc. */
 	(*PL_sighandlerp)(sig);