From: Kern Sibbald Date: Mon, 22 Oct 2007 10:08:36 +0000 (+0000) Subject: Add 2.2.4-replace.patch X-Git-Tag: Release-3.0.0~2361 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=49bfb1ddadf293cc999e1e62ea7186e61fee624c;p=bacula%2Fbacula Add 2.2.4-replace.patch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5775 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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; +