summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorMichael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>2004-11-11 16:54:43 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-17 10:11:20 +0000
commit50acdf951a03f778010b5632532ec99bfa7c4f6a (patch)
treec02916c2de2c738a64bdd1ac0207abd339ab86d1 /perlvars.h
parentbe9a9b1dd000aab30f25ebe003679f9814da62af (diff)
downloadperl-50acdf951a03f778010b5632532ec99bfa7c4f6a.tar.gz
SuSE's perl safe_putenf diff
Message-ID: <20041111145443.GA1854@immd4.informatik.uni-erlangen.de> slightly reworked to make the PL_use_safe_putenv variable fit in the current framework. This patch turns on the use of safe putenv for any application that embeds a perl interpreter. p4raw-id: //depot/perl@23507
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index 9cc8a2f57e..d57cb28b9d 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -69,3 +69,6 @@ PERLVAR(Gsv_placeholder, SV)
PERLVARI(Gcsighandlerp, Sighandler_t, &Perl_csighandler) /* Pointer to C-level sighandler */
#endif
+#ifndef PERL_USE_SAFE_PUTENV
+PERLVARI(Guse_safe_putenv, int, 1)
+#endif