summaryrefslogtreecommitdiff
path: root/taint.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-08 10:35:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-08 10:35:04 +0000
commitb7bf404b7a72f55bf93065ae7b25a5ba0a9ff7f6 (patch)
tree08db02df5a369b3b09389ffdeb82f8fa2de5026b /taint.c
parent647f639ff8a9df78122c041a3971917f8df7aa30 (diff)
downloadperl-b7bf404b7a72f55bf93065ae7b25a5ba0a9ff7f6.tar.gz
Turn taint warnings (-t) into severe warnings, so they're
on by default, without having to play games with the warning bits. Add a test for -t. p4raw-id: //depot/perl@29717
Diffstat (limited to 'taint.c')
-rw-r--r--taint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/taint.c b/taint.c
index 1c74f87a90..620284cd98 100644
--- a/taint.c
+++ b/taint.c
@@ -61,7 +61,7 @@ Perl_taint_proper(pTHX_ const char *f, const char *s)
else
ug = " while running with -T switch";
if (PL_unsafe || PL_taint_warn) {
- if(ckWARN(WARN_TAINT))
+ if(ckWARN_d(WARN_TAINT))
Perl_warner(aTHX_ packWARN(WARN_TAINT), f, s, ug);
}
else {