fix misinterpretation of empty settings

This commit is contained in:
lars 2006-01-23 21:19:08 +00:00
parent 6979287678
commit 99bea34ded
4 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,3 @@
$Id: Changes,v 1.5 2005/03/05 14:14:27 guy Exp $
Revision history for Perl extension Mail::Ezmlm.
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)
- look for ezmlm-make at run-time
- requires Text::ParseWords
0.07.1 Mon Jan 23 22:30:14 CET 2006
- fix misinterpretation of empty settings

View file

@ -210,7 +210,9 @@ sub getconfig {
if (/^F:-(\w+)/) {
$options = $1;
} elsif (/^(\d):(.+)$/) {
$options .= " -$1 '$2'";
my $opt_num = $1;
my $value = $2;
$options .= " -$opt_num '$value'" if ($value =~ /\S/);
}
}
close CONFIG;

View file

@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Ezmlm
version: 0.05
version: 0.07.1
version_from: Ezmlm.pm
installdirs: site
requires:

View file

@ -1,5 +1,3 @@
$Id: README,v 1.3 2005/03/05 14:14:06 guy Exp $
Ezmlm.pm
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.
- Guy Antony Halse <guy-ezmlm@rucus.ru.ac.za>
- Lars Kruse <devel@sumpfralle.de>