----- "Nathan Scott" <nathans@xxxxxxxxxx> wrote:
> ----- "Nathan Scott" <nathans@xxxxxxxxxx> wrote:
>
> > Not there yet, but closing in on it. Couple of things that may
> help,
>
> Its definately timezone related - descending deeper, we can see its
> something to do with the __pmSquashTZ call - if I set TZ in the env
> (and hence skip that call inside __pmLogCreate + __pmTimezone) when
> running the script, everything works...
If I comment out the call to "putenv(tzbuffer);" at libpcp/tz.c, line
126 ... all is well. Hmmm ... thats ... odd. Any theories? Possible
workaround to this odd libpcp/perl-runtime interaction might be to set
the TZ variable yourself before calling __pmLogCreate...? Bit of a
hack, but anything else is going to require libpcp changes I suspect.
cheers.
--
Nathan
|