]> git.sur5r.net Git - bacula/bacula/commitdiff
Add 2.2.4-replace.patch
authorKern Sibbald <kern@sibbald.com>
Mon, 22 Oct 2007 10:08:36 +0000 (10:08 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 22 Oct 2007 10:08:36 +0000 (10:08 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5775 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/2.2.4-replace.patch [new file with mode: 0644]

diff --git a/bacula/patches/2.2.4-replace.patch b/bacula/patches/2.2.4-replace.patch
new file mode 100644 (file)
index 0000000..58e4e51
--- /dev/null
@@ -0,0 +1,24 @@
+
+ This patch resolves bug #969 where the user can't change the
+ replace option in the restore menu
+
+ Apply to version 2.2.4 (and perhaps older 2.2.x versions) with
+
+ cd <bacula-source>
+ patch -p0 <2.2.4-replace.patch
+ ./configure (your options)
+ make
+ ...
+ make install
+
+--- src/dird/ua_run.c   (rĂ©vision 5721)
++++ src/dird/ua_run.c   (copie de travail)
+@@ -424,6 +424,7 @@
+          }
+          opt = do_prompt(ua, "", _("Select replace option"), NULL, 0);
+          if (opt >=  0) {
++            rc.replace = ReplaceOptions[opt].name;
+             jcr->replace = ReplaceOptions[opt].token;
+          }
+          goto try_again;
+