summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-08 18:59:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-08 18:59:40 +0000
commit5c1546dc48d585e2ab2e244b01f0213280b12017 (patch)
tree2a1fc6dd13e2a614f5ae35ef24107bdc77f5e7f9 /perlvars.h
parentab2f3c4a71e82c5e73898a746d576abd20c32de8 (diff)
downloadperl-5c1546dc48d585e2ab2e244b01f0213280b12017.tar.gz
Move the csighandler to be a data variable so that
things like DLL trampolines can't mess up the code variables the Perl_csighandler (seen in Cygwin: Perl_csighandler in POSIX extension was different than in main executable). p4raw-id: //depot/perl@20565
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index 83124d805f..e0f6530d66 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -63,3 +63,5 @@ PERLVAR(Gsigfpe_saved, Sighandler_t)
* The contents are never used, only the address. */
PERLVAR(Gsv_placeholder, SV)
+PERLVARI(Gcsighandlerp, Sighandler_t, &Perl_csighandler) /* Pointer to C-level sighandler */
+