summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2014-08-04 10:38:48 -0400
committerSteve Hay <steve.m.hay@googlemail.com>2014-08-14 08:13:24 +0100
commit0bdc5c5bd6553faeedd3f3242f9b33864da2e8d3 (patch)
treebbd29d698253dc6edddee2d3a26519b8818c4683 /hints
parented65e427637e7e7bc0f335c6d9b3a5d76ba80c52 (diff)
downloadperl-0bdc5c5bd6553faeedd3f3242f9b33864da2e8d3.tar.gz
Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV
hints/solaris_2.sh generates a config.over script intended to add PERL_USE_SAFE_PUTENV to ccflags, if it is not already present. An extra leading underscore in the check meant that the test always failed and PERL_USE_SAFE_PUTENV always got added. (cherry picked from commit dd25c352db6f2a0adb8324232f6ccfd456d603e9)
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 5c873bb188..57f4d14983 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -703,7 +703,7 @@ EOCBU
#
cat >> config.over <<'EOOVER'
if test "$d_unsetenv" = "$define" -a \
- `expr "$ccflags" : '.*-D_PERL_USE_SAFE_PUTENV'` -eq 0; then
+ `expr "$ccflags" : '.*-DPERL_USE_SAFE_PUTENV'` -eq 0; then
ccflags="$ccflags -DPERL_USE_SAFE_PUTENV"
fi
EOOVER