'defined(%hash)'" which is now an error ("Compilation failed in require") rather than just a warning.
13 lines
393 B
Plaintext
13 lines
393 B
Plaintext
$OpenBSD: patch-lib_mhamain_pl,v 1.3 2017/03/02 09:47:40 sthen Exp $
|
|
--- lib/mhamain.pl.orig Thu Mar 2 09:38:22 2017
|
|
+++ lib/mhamain.pl Thu Mar 2 09:38:33 2017
|
|
@@ -1562,7 +1562,7 @@ sub signal_catch {
|
|
##
|
|
sub defineIndex2MsgId {
|
|
no warnings qw(deprecated);
|
|
- if (!defined(%Index2MsgId)) {
|
|
+ if (!%Index2MsgId) {
|
|
foreach (keys %MsgId) {
|
|
$Index2MsgId{$MsgId{$_}} = $_;
|
|
}
|