|
From: Tom H. <th...@cy...> - 2004-11-02 09:45:22
|
CVS commit by thughes:
Use -w instead of "use warnings" to enable warnings so that older
versions of perl can handle the script.
MERGE TO STABLE
M +1 -2 gen_intercepts.pl 1.1.2.1
M +1 -2 gen_toolint.pl 1.3.2.1
--- valgrind/coregrind/gen_intercepts.pl #1.1:1.1.2.1
@@ -1,3 +1,3 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
# This file is part of Valgrind, an extensible x86 protected-mode
@@ -25,5 +25,4 @@
use strict;
-use warnings;
while(<>) {
--- valgrind/coregrind/gen_toolint.pl #1.3:1.3.2.1
@@ -1,3 +1,3 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
# This file is part of Valgrind, an extensible x86 protected-mode
@@ -25,5 +25,4 @@
use strict;
-use warnings;
my $output = shift @ARGV;
|