From 0dea505a4729b04a36bbb8dca41190b5d75980fd Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 22 Oct 2007 10:08:36 +0000 Subject: [PATCH] Add 2.2.4-replace.patch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5775 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/2.2.4-replace.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bacula/patches/2.2.4-replace.patch diff --git a/bacula/patches/2.2.4-replace.patch b/bacula/patches/2.2.4-replace.patch new file mode 100644 index 0000000000..58e4e5109f --- /dev/null +++ b/bacula/patches/2.2.4-replace.patch @@ -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 + 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; + -- 2.39.5