fix misinterpretation of empty settings
This commit is contained in:
parent
6979287678
commit
99bea34ded
4 changed files with 10 additions and 7 deletions
|
@ -1,5 +1,3 @@
|
||||||
$Id: Changes,v 1.5 2005/03/05 14:14:27 guy Exp $
|
|
||||||
|
|
||||||
Revision history for Perl extension Mail::Ezmlm.
|
Revision history for Perl extension Mail::Ezmlm.
|
||||||
|
|
||||||
0.01 Sun Oct 31 12:58:16 1999
|
0.01 Sun Oct 31 12:58:16 1999
|
||||||
|
@ -42,3 +40,7 @@ Revision history for Perl extension Mail::Ezmlm.
|
||||||
- new functions for config directory setting (idx >= 5.0)
|
- new functions for config directory setting (idx >= 5.0)
|
||||||
- look for ezmlm-make at run-time
|
- look for ezmlm-make at run-time
|
||||||
- requires Text::ParseWords
|
- requires Text::ParseWords
|
||||||
|
|
||||||
|
0.07.1 Mon Jan 23 22:30:14 CET 2006
|
||||||
|
- fix misinterpretation of empty settings
|
||||||
|
|
||||||
|
|
|
@ -156,7 +156,7 @@ sub update {
|
||||||
$_ =~ s/['"]//g;
|
$_ =~ s/['"]//g;
|
||||||
$_ =~ m/^([\w _\/,\.\@:'"-]*)$/;
|
$_ =~ m/^([\w _\/,\.\@:'"-]*)$/;
|
||||||
if ($_ eq '') {
|
if ($_ eq '') {
|
||||||
push @switch_list, " ";
|
push @switch_list, "";
|
||||||
} else {
|
} else {
|
||||||
push @switch_list, $1;
|
push @switch_list, $1;
|
||||||
}
|
}
|
||||||
|
@ -210,7 +210,9 @@ sub getconfig {
|
||||||
if (/^F:-(\w+)/) {
|
if (/^F:-(\w+)/) {
|
||||||
$options = $1;
|
$options = $1;
|
||||||
} elsif (/^(\d):(.+)$/) {
|
} elsif (/^(\d):(.+)$/) {
|
||||||
$options .= " -$1 '$2'";
|
my $opt_num = $1;
|
||||||
|
my $value = $2;
|
||||||
|
$options .= " -$opt_num '$value'" if ($value =~ /\S/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close CONFIG;
|
close CONFIG;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# http://module-build.sourceforge.net/META-spec.html
|
# http://module-build.sourceforge.net/META-spec.html
|
||||||
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
|
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
|
||||||
name: Ezmlm
|
name: Ezmlm
|
||||||
version: 0.05
|
version: 0.07.1
|
||||||
version_from: Ezmlm.pm
|
version_from: Ezmlm.pm
|
||||||
installdirs: site
|
installdirs: site
|
||||||
requires:
|
requires:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
$Id: README,v 1.3 2005/03/05 14:14:06 guy Exp $
|
|
||||||
|
|
||||||
Ezmlm.pm
|
Ezmlm.pm
|
||||||
|
|
||||||
Object methods for ezmlm mailing lists.
|
Object methods for ezmlm mailing lists.
|
||||||
|
@ -20,3 +18,4 @@ releases are infrequent at best. Check http://guy.rucus.net/ezmlm/contrib/
|
||||||
for patches, etc that may be useful.
|
for patches, etc that may be useful.
|
||||||
|
|
||||||
- Guy Antony Halse <guy-ezmlm@rucus.ru.ac.za>
|
- Guy Antony Halse <guy-ezmlm@rucus.ru.ac.za>
|
||||||
|
- Lars Kruse <devel@sumpfralle.de>
|
||||||
|
|
Loading…
Reference in a new issue