summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-02 17:51:11 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-12 16:15:22 +0200
commit8bf206230526c0a7639d6ffe1a763ac4e70153a0 (patch)
tree10cd981a9f4512590acae96315636b6cff82c8c9 /perlvars.h
parentaf2f0da9b8621f5cc241f5664bcecd0fbd8865b2 (diff)
downloadperl-8bf206230526c0a7639d6ffe1a763ac4e70153a0.tar.gz
Change PL_use_safe_putenv from int to bool.
It is only ever checked for truth/falsehood, and all assignments to it (in core and on CPAN) are either 0 or 1.
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlvars.h b/perlvars.h
index 8ee418f5e2..e82f03a5db 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -68,7 +68,7 @@ PERLVARI(Gcsighandlerp, Sighandler_t, Perl_csighandler) /* Pointer to C-level si
#endif
#ifndef PERL_USE_SAFE_PUTENV
-PERLVARI(Guse_safe_putenv, int, 1)
+PERLVARI(Guse_safe_putenv, bool, TRUE)
#endif
#ifdef USE_PERLIO