diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-12 10:35:03 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-12 23:52:55 +0200 |
commit | 3239382aefd0f5fa9ffd1509ccaedd59a54ec9af (patch) | |
tree | 91445c52027cce58e37576ad248c34922aa1fddd | |
parent | 118bd609f048f457cf42d358a07510b87626f316 (diff) | |
download | ffmpeg-3239382aefd0f5fa9ffd1509ccaedd59a54ec9af.tar.gz |
doc/texi2pod: add "use warnings" directive
The script was previously run with perl -w through the shebang
command. Now that the script is executed through direct perl invocation
the -w in the shebang command is ignored. This patch re-enables "use
warnings" whatever way the script is invoked.
Idea-By: jamal <jamrial@gmail.com>
-rwxr-xr-x | doc/texi2pod.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 94323be340..5e8814feff 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -1,4 +1,4 @@ -#! /usr/bin/perl -w +#! /usr/bin/perl # Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. @@ -23,6 +23,8 @@ # markup to Perl POD format. It's intended to be used to extract # something suitable for a manpage from a Texinfo document. +use warnings; + $output = 0; $skipping = 0; %sects = (); |