[Bug 478207] [NEW] Parsing of Runall Expire dates failes on specfic time formats

Joerg Delker ubuntu at delker.de
Sun Nov 8 10:32:05 UTC 2009


Public bug reported:

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{Runall}})
 {
-	($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
NonfreeKernelModules: fcpci
Package: dirvish 1.2.1-1.1 [modified: usr/sbin/dirvish-runall]
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/tcsh
SourcePackage: dirvish
Uname: Linux 2.6.28-15-generic x86_64

** Affects: dirvish (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Parsing of Runall Expire dates failes on specfic time formats
https://bugs.launchpad.net/bugs/478207
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list