]> git.pld-linux.org Git - packages/bacula.git/commitdiff
A patch making restoring from DVD work, posted to the bacula-devel list
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 11 Jun 2006 20:07:33 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
by Uwe Müssel, Message-ID: <448C510B.8090904@web.de>.

Changed files:
    bacula-dvd_restore.patch -> 1.1

bacula-dvd_restore.patch [new file with mode: 0644]

diff --git a/bacula-dvd_restore.patch b/bacula-dvd_restore.patch
new file mode 100644 (file)
index 0000000..858fdc4
--- /dev/null
@@ -0,0 +1,13 @@
+Index: src/stored/block.c
+===================================================================
+--- src/stored/block.c (revision 2)
++++ src/stored/block.c (working copy)
+@@ -912,7 +912,7 @@
+          (dev->part <= dev->VolCatInfo.VolCatParts));*/
+    /* Check for part file end */
+    if ((dev->num_parts > 0) &&
+-        ((dev->file_addr-dev->part_start) == dev->part_size) && 
++        (dev->at_eof()) && 
+         (dev->part < dev->num_parts)) {
+       if (dvd_open_next_part(dcr) < 0) {
+          Jmsg2(dcr->jcr, M_FATAL, 0, _("Unable to open device next part %s: ERR=%s\n"),
This page took 0.055127 seconds and 4 git commands to generate.