From 0bad75d1a961dc33df92c3b0839a5c42d30cd02b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 3 Jan 2007 19:47:06 +0000 Subject: [PATCH] Apply Eric's fix for client name editing on RunScripts. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3911 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/ChangeLog | 1 + bacula/src/dird/ua_run.c | 3 ++- bacula/src/version.h | 10 +++++----- bacula/technotes-1.39 | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bacula/ChangeLog b/bacula/ChangeLog index b5ac73863b..7ce9931d83 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -3,6 +3,7 @@ General: Version 2.0.0 released: 4 January 2007 03Jan07 +kes Apply Eric's fix for client name editing on RunScripts. kes Fix an incorrect dbcheck reference to Id. Version 1.39.34 Released: diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index c5a271c84e..9da828ad06 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -9,7 +9,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2001-2006 Free Software Foundation Europe e.V. + Copyright (C) 2001-2007 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -467,6 +467,7 @@ int run_cmd(UAContext *ua, const char *cmd) jcr->pool = pool; set_rwstorage(jcr, &store); jcr->client = client; + pm_strcpy(jcr->client_name, client->name()); jcr->fileset = fileset; jcr->ExpectedFiles = files; if (catalog != NULL) { diff --git a/bacula/src/version.h b/bacula/src/version.h index 0bc4ba5231..0f86eebf07 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -4,16 +4,16 @@ #undef VERSION #define VERSION "2.0.0" -#define BDATE "28 December 2006" -#define LSMDATE "28Dec06" +#define BDATE "04 January 2007" +#define LSMDATE "04Jan07" -#define PROG_COPYRIGHT "Copyright (C) %d-2006 Free Software Foundation Europe e.V.\n" -#define BYEAR "2006" /* year for copyright messages in progs */ +#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n" +#define BYEAR "2007" /* year for copyright messages in progs */ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2006 Free Software Foundation Europe e.V. + Copyright (C) 2000-2007 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. diff --git a/bacula/technotes-1.39 b/bacula/technotes-1.39 index aab030f6cd..484fe7a345 100644 --- a/bacula/technotes-1.39 +++ b/bacula/technotes-1.39 @@ -3,6 +3,7 @@ General: Version 2.0.0 released: 4 January 2007 03Jan07 +kes Apply Eric's fix for client name editing on RunScripts. kes Fix an incorrect dbcheck reference to Id. Version 1.39.34 released: -- 2.39.5