Parsing of Runall Expire dates failes on specfic time formats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dirvish (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dirvish
drivish-runall manpages states that "Runall" config directive is using Time::ParseDate formatted patterns.
This works with simple, non-spaced expressions but fails on anything that contains a space (like "Last Sun").
The following patch prevents this bug:
--- dirvish-runall.orig 2009-11-08 11:28:26.000000000 +0100
+++ dirvish-runall 2009-11-08 11:27:50.000000000 +0100
@@ -105,7 +105,7 @@
for $sched (@{$$Config{
{
- ($vault, $itime) = split(/\s+/, $sched);
+ ($vault, $itime) = split(/\s+/, $sched,2);
$cmd = "$$Config{Dirvish} --vault $vault";
$itime and $cmd .= qq[ --image-time "$itime"];
$$Options{quiet}
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: dirvish 1.2.1-1.1 [modified: usr/sbin/
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=
SourcePackage: dirvish
Uname: Linux 2.6.28-15-generic x86_64