From: Kern Sibbald Date: Wed, 17 Jun 2009 16:40:09 +0000 (+0000) Subject: Commit btape fill patch X-Git-Tag: Release-3.0.2~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=31b7e517bc34add96fd798f4fce5107d3bf594ed;p=bacula%2Fbacula Commit btape fill patch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8906 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/3.0.1-btape.patch b/bacula/patches/3.0.1-btape.patch new file mode 100644 index 0000000000..3f9b29018a --- /dev/null +++ b/bacula/patches/3.0.1-btape.patch @@ -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 + patch -p0 <3.0.1-btape.patch + ./configure + 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); + }