Compare commits

...

2 commits

Author SHA1 Message Date
Thomas Hochstein aa2b0bc19f Release 0.8.2 (Maintenance Release)
Add changelog entries.
Bump version number.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 16:54:15 +02:00
Thomas Hochstein 2ae816cb55 Fix: Accept leading/trailing whitespace for Last-modified pseudo header.
Fixes #5.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 16:53:48 +02:00
2 changed files with 10 additions and 4 deletions

View file

@ -1,8 +1,14 @@
Version 0.8.2
* Fix: Accept leading/trailing whitespace for Last-modified pseudo header.
Thomas Hochstein <thh@inter.net> Sat May 15 16:32:58 2010 +0200
Version 0.8.1 Version 0.8.1
* Fix broken implementation of "Program" in .yapfaqrc. * Fix broken implementation of "Program" in .yapfaqrc.
Fixes #4. Fixes #4.
Thomas Hochstein <thh@inter.net> 2010-05-14 21:58:15 Thomas Hochstein <thh@inter.net> Fri May 14 21:58:15 2010 +0200
Version 0.8 Version 0.8

View file

@ -1,6 +1,6 @@
#! /usr/bin/perl -W #! /usr/bin/perl -W
# #
# yapfaq Version 0.8.1 by Thomas Hochstein # yapfaq Version 0.8.2 by Thomas Hochstein
# (Original author: Marc Brockschmidt) # (Original author: Marc Brockschmidt)
# #
# This script posts any project described in its config-file. Most people # This script posts any project described in its config-file. Most people
@ -12,7 +12,7 @@
# It can be redistributed and/or modified under the same terms under # It can be redistributed and/or modified under the same terms under
# which Perl itself is published. # which Perl itself is published.
our $VERSION = "0.8.1"; our $VERSION = "0.8.2";
# Please do not change this setting! # Please do not change this setting!
# You may override the default .rc file (.yapfaqrc) by using "-c .rc file" # You may override the default .rc file (.yapfaqrc) by using "-c .rc file"
@ -263,7 +263,7 @@ sub postfaq {
s/\r//; s/\r//;
push (@Body, $_), next if $InRealBody; push (@Body, $_), next if $InRealBody;
$InRealBody++ if /^$/; $InRealBody++ if /^$/;
$LastModified = $1 if /^Last-modified: (\S+)$/i; $LastModified = $1 if /^Last-modified:\s*(\S+)\s*$/i;
push @Body, $_; push @Body, $_;
} }
close FH; close FH;