]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Use -w instead of "use warnings" to enable warnings so that older
authorTom Hughes <tom@compton.nu>
Tue, 2 Nov 2004 09:45:21 +0000 (09:45 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 2 Nov 2004 09:45:21 +0000 (09:45 +0000)
versions of perl can handle the script.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2903

coregrind/gen_intercepts.pl
coregrind/gen_toolint.pl

index ef23d4e59aa3182811091cc5e342c065f2990c3f..d522908fa692b957033efb72df07cc203cfcddc5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
 
 #  This file is part of Valgrind, an extensible x86 protected-mode
 #  emulator for monitoring program execution on x86-Unixes.
@@ -24,7 +24,6 @@
 #  The GNU General Public License is contained in the file COPYING.
 
 use strict;
-use warnings;
 
 while(<>) {
   if(/VG_INTERCEPT\s*\(\s*(.*?)\s*,\s*(.*?)\s*\)/) {
index edd716de9a29e64e6c73800aace8037fe48e69f9..95f93c1bf8fe48fc5d9b978f78bad91610376eca 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
 
 #  This file is part of Valgrind, an extensible x86 protected-mode
 #  emulator for monitoring program execution on x86-Unixes.
@@ -24,7 +24,6 @@
 #  The GNU General Public License is contained in the file COPYING.
 
 use strict;
-use warnings;
 
 my $output = shift @ARGV;
 my $indent = "";