On Mon, Jan 17, 2005 at 10:44:01PM +0100, Emmanuel Dreyfus wrote:
Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Essentially, you should never run ANY of the Hobbit tools without
setting up the environment variables defined in hobbitserver.cfg;
I'm still advising the patch I attached. The program should exit
gracefully instead of dying horribly with a SIGSEGV.
I agree. But this is only one place where such a change is needed,
so I'll probably end up doing a wrapper for getenv() to check for
this (and possibly provide a default value), rather than adding
such checks to all places where getenv is used.
Henrik