diff options
author | Guillem Jover <guillem@debian.org> | 2015-08-05 21:27:41 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-08-06 04:12:24 +0200 |
commit | afef8fbf76e4d87ea8ab824370507f5017a4818e (patch) | |
tree | b0bf60e8767d8724de8d85140bbe15d94428835e /debian | |
parent | bacb47ef2cee950c9c167b9cb6a95ecd0a051634 (diff) | |
download | dpkg-afef8fbf76e4d87ea8ab824370507f5017a4818e.tar.gz |
Dpkg::Changelog::Entry::Debian: Only warn on invalid week days
Regression introduced in commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c.
The previous implementation using Date::Parse ignored invalid week
days, and the new one using Time::Piece is strict, so we get fatal
errors. Validate the week day ourselves, emit a warning in case of
an invalid value, and ignore it when passing the value to strptime
from Time::Piece.
Reported-by: Jakub Wilk <jwilk@debian.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f8e44f6ff..96ada214a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,11 @@ dpkg (1.18.3) UNRELEASED; urgency=low + [ Guillem Jover ] + * Perl modules: + - Only warn on invalid week days instead of aborting in + Dpkg::Changelog::Entry::Debian. Regression introduced in dpkg 1.18.2. + Reported by Jakub Wilk <jwilk@debian.org>. + [ Updated programs translations ] * Catalan (Jordi Mallach). |