From: Eric Bollengier Date: Sat, 24 Oct 2009 09:56:27 +0000 (+0200) Subject: update tools with lmgr X-Git-Tag: Release-7.0.0~2598^2~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44bc972b933293d808f69587f96385538070bbf8;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) {