summaryrefslogtreecommitdiff
path: root/warnings.pl
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 /warnings.pl
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 'warnings.pl')
-rw-r--r--warnings.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/warnings.pl b/warnings.pl
index 8d8913430f..3c978d1d78 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -319,9 +319,6 @@ print WARN tab(5, '#define WARNsize'), "$warn_size\n" ;
#print WARN tab(5, '#define WARN_ALLstring'), '"', ('\377' x $warn_size) , "\"\n" ;
print WARN tab(5, '#define WARN_ALLstring'), '"', ('\125' x $warn_size) , "\"\n" ;
print WARN tab(5, '#define WARN_NONEstring'), '"', ('\0' x $warn_size) , "\"\n" ;
-my $WARN_TAINTstring = mkOct($warn_size, map $_ * 2, @{ $list{'taint'} });
-
-print WARN tab(5, '#define WARN_TAINTstring'), qq["$WARN_TAINTstring"\n] ;
print WARN <<'EOM';