Hello,
This patch will fix a VolumeTag regex match problem in Bweb.pm.
Without this patch volume names like VOL.001 or VOL-001 are
NOT matched correctly.
Please apply i to svn trunk.
Best Regards
Ulrich
--
Ulrich Leodolter <[EMAIL PROTECTED]>
OBVSG
--- Bweb.pm.orig 2008-10-29 09:19:35.000000000 +0100
+++ Bweb.pm 2008-10-29 12:03:46.000000000 +0100
@@ -638,7 +638,7 @@
$self->set_slot($1, $4);
}
- } elsif ($l =~ /Data Transfer.+(\d+):(Full|Empty)(\s+.Storage Element (\d+) Loaded.(:VolumeTag = ([\w\d]+))?)?/) {
+ } elsif ($l =~ /Data Transfer.+(\d+):(Full|Empty)(\s+.Storage Element (\d+) Loaded.(:VolumeTag = ([\w\d.-]+))?)?/) {
if ($2 eq 'Empty') {
$self->set_empty_drive($1);
@@ -646,7 +646,7 @@
$self->set_drive($1, $4, $6);
}
- } elsif ($l =~ /Storage Element (\d+).+IMPORT\/EXPORT:(Empty|Full)( :VolumeTag=([\d\w]+))?/)
+ } elsif ($l =~ /Storage Element (\d+).+IMPORT\/EXPORT:(Empty|Full)( :VolumeTag=([\w\d.-]+))?/)
{
if ($2 eq 'Empty') {
$self->set_empty_io($1);
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel