Package: tzc
Version: 2.6.15-5.1+b1
Severity: normal
in main(), the getopt switch does:
1995: case 's':
use_zctl = 1;
/* XXX we can't guarantee that the user has subscribed to
* the heartbeat class/inst, so disable it to be safe.
* Could check it with ZGetSubscriptions(). */
globals->heartbeat.status = HB_DISABLED;
Good idea. But the end of that switch calls
2047: setup(use_zctl);
and all paths through setup() call
1380: reset_heartbeat();
which immediately stomps it back on:
1314: void reset_heartbeat() {
int fuzz;
globals->heartbeat.status = HB_ENABLED;
Obvious fix is for setup() to do
+ if (globals->heartbeat.status == HB_ENABLED) {
reset_heartbeat();
+ }
(While you're in there, the getopt switch has case 't' fall through to
case 'd', and I don't think it's intentional that setting a heartbeat
timeout always turn on debugging...)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: armel (armv5tel)
Kernel: Linux 2.6.30-2-kirkwood
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages tzc depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libcomerr2 1.41.9-1 common error description library
ii libzephyr4-krb5 [libzephyr 3.0~rc.2544-1 The original "Instant Message" sys
ii zephyr-clients 3.0~rc.2544-1 Project Athena's notification serv
tzc recommends no packages.
tzc suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]