git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
466581b
)
Avoid using "-w" option in perl script shebang lines, being incompatible with "env...
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 30 Jan 2017 17:27:15 +0000
(17:27 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 31 Jan 2017 13:14:03 +0000
(13:14 +0000)
src/src/convert4r3.src
patch
|
blob
|
history
src/src/convert4r4.src
patch
|
blob
|
history
src/src/exigrep.src
patch
|
blob
|
history
src/src/eximstats.src
patch
|
blob
|
history
src/src/exiqsumm.src
patch
|
blob
|
history
src/src/transport-filter.src
patch
|
blob
|
history
test/README
patch
|
blob
|
history
diff --git
a/src/src/convert4r3.src
b/src/src/convert4r3.src
index 0ccaf6cee126dbb83615a927a82b2d613e262943..810b3374fc778ebfc9ee54a4fc2f6de071ad3287 100755
(executable)
--- a/
src/src/convert4r3.src
+++ b/
src/src/convert4r3.src
@@
-1,4
+1,4
@@
-#! PERL_COMMAND
-w
+#! PERL_COMMAND
# This is a Perl script that reads an Exim run-time configuration file and
# checks for settings that were valid prior to release 3.00 but which were
# This is a Perl script that reads an Exim run-time configuration file and
# checks for settings that were valid prior to release 3.00 but which were
@@
-7,6
+7,7
@@
# It is assumed that the input is a valid Exim configuration file.
# It is assumed that the input is a valid Exim configuration file.
+use warnings;
##################################################
# Analyse one line #
##################################################
# Analyse one line #
diff --git
a/src/src/convert4r4.src
b/src/src/convert4r4.src
index 4455fb7fe2ce5def158a09e0b44d2fb6524abd0b..8075602cb637ac73939f5b167f54b09bbd4be978 100755
(executable)
--- a/
src/src/convert4r4.src
+++ b/
src/src/convert4r4.src
@@
-1,4
+1,4
@@
-#! PERL_COMMAND
-w
+#! PERL_COMMAND
# This is a Perl script that reads an Exim run-time configuration file for
# Exim 3. It makes what changes it can for Exim 4, and also output commentary
# This is a Perl script that reads an Exim run-time configuration file for
# Exim 3. It makes what changes it can for Exim 4, and also output commentary
@@
-6,6
+6,7
@@
# It is assumed that the input is a valid Exim 3 configuration file.
# It is assumed that the input is a valid Exim 3 configuration file.
+use warnings;
# These are lists of main options which are abolished in Exim 4.
# The first contains options that are used to construct new options.
# These are lists of main options which are abolished in Exim 4.
# The first contains options that are used to construct new options.
diff --git
a/src/src/exigrep.src
b/src/src/exigrep.src
index 05193971dac66babbe350d3397da8d5bf1adf259..e8857126e77f9beb546960b3d4425173ac987249 100644
(file)
--- a/
src/src/exigrep.src
+++ b/
src/src/exigrep.src
@@
-1,5
+1,6
@@
-#! PERL_COMMAND
-w
+#! PERL_COMMAND
+use warnings;
use strict;
# Copyright (c) 2007-2015 University of Cambridge.
use strict;
# Copyright (c) 2007-2015 University of Cambridge.
diff --git
a/src/src/eximstats.src
b/src/src/eximstats.src
index 7f220a20102b80028f4141720ed4d6d3e13b1479..7e74db8852f201001422daf7558a6bbefb9d8f04 100644
(file)
--- a/
src/src/eximstats.src
+++ b/
src/src/eximstats.src
@@
-1,4
+1,4
@@
-#!PERL_COMMAND
-w
+#!PERL_COMMAND
# Copyright (c) 2001-2016 University of Cambridge.
# See the file NOTICE for conditions of use and distribution.
# Copyright (c) 2001-2016 University of Cambridge.
# See the file NOTICE for conditions of use and distribution.
@@
-547,6
+547,7
@@
Merging of xls files is not (yet) possible. Be free to implement :)
=cut
=cut
+use warnings;
use integer;
use strict;
use IO::File;
use integer;
use strict;
use IO::File;
diff --git
a/src/src/exiqsumm.src
b/src/src/exiqsumm.src
index 7d2a933f6fc08be30141730ddbc9ef7bed3b1e34..c8b522ef503bd0a97e8bab79e35ac12d2d4682fe 100644
(file)
--- a/
src/src/exiqsumm.src
+++ b/
src/src/exiqsumm.src
@@
-1,4
+1,4
@@
-#! PERL_COMMAND
-w
+#! PERL_COMMAND
# Mail Queue Summary
# Christoph Lameter, 21 May 1997
# Mail Queue Summary
# Christoph Lameter, 21 May 1997
@@
-41,6
+41,8
@@
# Slightly modified sub from eximstats
# Slightly modified sub from eximstats
+use warnings;
+
sub print_volume_rounded {
my($x) = pop @_;
if ($x < 10000)
sub print_volume_rounded {
my($x) = pop @_;
if ($x < 10000)
diff --git
a/src/src/transport-filter.src
b/src/src/transport-filter.src
index 92a3b9dc4553efb2754260aca965e53a55c92a7f..2558bd7ec102bfe273c72df5133727c52e25f058 100644
(file)
--- a/
src/src/transport-filter.src
+++ b/
src/src/transport-filter.src
@@
-1,4
+1,4
@@
-#! PERL_COMMAND
-w
+#! PERL_COMMAND
# This is a Perl script to demonstrate the possibilities of on-the-fly
# delivery filtering in Exim. It is presented with a message on its standard
# This is a Perl script to demonstrate the possibilities of on-the-fly
# delivery filtering in Exim. It is presented with a message on its standard
@@
-11,6
+11,7
@@
# Philip Hazel, May 1997
#############################################################################
# Philip Hazel, May 1997
#############################################################################
+use warnings;
# If the filter is called with any arguments, insert them into the message
# as X-Arg headers, just to verify what they are.
# If the filter is called with any arguments, insert them into the message
# as X-Arg headers, just to verify what they are.
diff --git
a/test/README
b/test/README
index 38972042fa8b5b9f8b27bb21099fe9f2422ba6b4..8453d317b27213405cd0011e5d8771a05ccdc31b 100644
(file)
--- a/
test/README
+++ b/
test/README
@@
-151,8
+151,8
@@
RUNNING THE TEST SUITE
(2) cd into the exim-testsuite-x.xx directory.
(2) cd into the exim-testsuite-x.xx directory.
-(3) Run "
autoconf" then "./configure" and then "make". This builds a few
- a
uxiliary programs that a
re written in C.
+(3) Run "
./configure" and then "make". This builds a few auxiliary programs that
+ are written in C.
(4) echo $PWD/test-config >> your_TRUSTED_CONFIG_LIST_filename
Typically that is .../exim/test/trusted_configs
(4) echo $PWD/test-config >> your_TRUSTED_CONFIG_LIST_filename
Typically that is .../exim/test/trusted_configs