]> git.sur5r.net Git - bacula/bacula/commitdiff
Commit btape fill patch
authorKern Sibbald <kern@sibbald.com>
Wed, 17 Jun 2009 16:40:09 +0000 (16:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 17 Jun 2009 16:40:09 +0000 (16:40 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8906 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/3.0.1-btape.patch [new file with mode: 0644]

diff --git a/bacula/patches/3.0.1-btape.patch b/bacula/patches/3.0.1-btape.patch
new file mode 100644 (file)
index 0000000..3f9b290
--- /dev/null
@@ -0,0 +1,28 @@
+
+ This patch can be applied to version 3.0.1 and should
+ fix bug #1309 btape fill multiple tape generates error but
+ end of fill test says successful.
+
+ Apply it to version 3.0.1 with:
+
+ cd <bacula-source>
+ patch -p0 <3.0.1-btape.patch
+ ./configure <your-options>
+ make
+ ...
+ make install
+
+
+
+Index: src/stored/btape.c
+===================================================================
+--- src/stored/btape.c (revision 8902)
++++ src/stored/btape.c (working copy)
+@@ -414,7 +414,6 @@
+       }
+    }
+    dev->rewind(dcr);
+-   dev->weof(1);
+    write_new_volume_label_to_dev(dcr, cmd, "Default", false,/*no relabel*/ true /* label dvd now */);
+    Pmsg1(-1, _("Wrote Volume label for volume \"%s\".\n"), cmd);
+ }