diff options
author | Tim Potter <tpot@samba.org> | 2001-11-23 00:52:29 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-23 00:52:29 +0000 |
commit | 79b34d1b11e685d068b9c0ac9a0ec06eaa263d82 (patch) | |
tree | 7333a5c9d1ce43319880185d936a373b0fd8caa2 /source3/torture | |
parent | 5788899a480c3b4c79a1970dbd1634cc3fed4de6 (diff) | |
download | samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.tar.gz samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.tar.bz2 samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.zip |
Removed TimeInit() call from every client program (except for one place
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
(This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/locktest.c | 2 | ||||
-rw-r--r-- | source3/torture/locktest2.c | 2 | ||||
-rw-r--r-- | source3/torture/masktest.c | 2 | ||||
-rw-r--r-- | source3/torture/msgtest.c | 1 | ||||
-rw-r--r-- | source3/torture/rpctorture.c | 2 |
5 files changed, 0 insertions, 9 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 26c0dcbd29..ccff2b2624 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -568,8 +568,6 @@ static void usage(void) argc -= NSERVERS; argv += NSERVERS; - TimeInit(); - lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 5be9e9c02c..db5e17921c 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -558,8 +558,6 @@ static void usage(void) argc -= 4; argv += 4; - TimeInit(); - lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index e39caf46bd..d57b26bee4 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -441,8 +441,6 @@ static void usage(void) argc -= 1; argv += 1; - TimeInit(); - lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c index 31bc1ee6e8..9f3c083b80 100644 --- a/source3/torture/msgtest.c +++ b/source3/torture/msgtest.c @@ -42,7 +42,6 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len) int i, n; char buf[12]; - TimeInit(); setup_logging(argv[0],True); lp_load(dyn_CONFIGFILE,False,False,False); diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c index 27693f5575..e767c715e9 100644 --- a/source3/torture/rpctorture.c +++ b/source3/torture/rpctorture.c @@ -292,8 +292,6 @@ enum client_action setup_logging(pname, True); - TimeInit(); - myumask = umask(0); umask(myumask); |