From: Eric Bollengier Date: Sat, 24 Oct 2009 09:56:27 +0000 (+0200) Subject: update tools with lmgr X-Git-Tag: Release-5.0.0~281^2~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=faeb75e1047e0afd184a1ea807563d3331e36ecd;p=bacula%2Fbacula update tools with lmgr --- diff --git a/bacula/src/stored/bcopy.c b/bacula/src/stored/bcopy.c index c249c6e136..5467397f79 100644 --- a/bacula/src/stored/bcopy.c +++ b/bacula/src/stored/bcopy.c @@ -102,6 +102,7 @@ int main (int argc, char *argv[]) init_stack_dump(); my_name_is(argc, argv, "bcopy"); + lmgr_init_thread(); init_msg(NULL, NULL); while ((ch = getopt(argc, argv, "b:c:d:i:o:pvw:?")) != -1) { diff --git a/bacula/src/tools/testfind.c b/bacula/src/tools/testfind.c index 5df537689c..35cccba2b0 100644 --- a/bacula/src/tools/testfind.c +++ b/bacula/src/tools/testfind.c @@ -99,6 +99,7 @@ main (int argc, char *const *argv) setlocale(LC_ALL, ""); bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); + lmgr_init_thread(); while ((ch = getopt(argc, argv, "ac:d:f:?")) != -1) { switch (ch) { diff --git a/bacula/src/tools/testls.c b/bacula/src/tools/testls.c index c2765509ba..e9751e596e 100644 --- a/bacula/src/tools/testls.c +++ b/bacula/src/tools/testls.c @@ -88,6 +88,7 @@ main (int argc, char *const *argv) setlocale(LC_ALL, ""); bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); + lmgr_init_thread(); while ((ch = getopt(argc, argv, "ad:e:i:?")) != -1) { switch (ch) {