r4498 - developers/werner/bin
werner at docs.openmoko.org
werner at docs.openmoko.org
Tue Jun 24 22:33:31 CEST 2008
Author: werner
Date: 2008-06-24 22:33:29 +0200 (Tue, 24 Jun 2008)
New Revision: 4498
Modified:
developers/werner/bin/mdflt
Log:
Header:<EOL> appears in real life and is RFC822-compliant, so we better
support it.
Modified: developers/werner/bin/mdflt
===================================================================
--- developers/werner/bin/mdflt 2008-06-24 16:00:23 UTC (rev 4497)
+++ developers/werner/bin/mdflt 2008-06-24 20:33:29 UTC (rev 4498)
@@ -85,6 +85,9 @@
if (/^(\S+):\s+/) {
$last = uc $1;
$hdr{$last} = $';
+ } elsif (/^(\S+):$/) {
+ $last = uc $1;
+ $hdr{$last} = "";
} elsif (/^\s+/) {
die "unexpected continuation in $name:\n$_\n" unless defined $last;
$hdr{$last} .= " ".$';
@@ -98,6 +101,7 @@
($base = $name) =~ s|^.*/||;
&move($name, $folder[$i]."/".$base);
$cnt[$i]++;
+ last;
}
close FILE;
}
More information about the commitlog
mailing list