pcp
[Top] [All Lists]

Re: [pcp] datetime enhancements

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] datetime enhancements
From: Stan Cox <scox@xxxxxxxxxx>
Date: Mon, 03 Mar 2014 21:16:30 -0500
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1141611316.19105110.1393666896720.JavaMail.zimbra@xxxxxxxxxx>
References: <53042BF5.5070704@xxxxxxxxxx> <2061040535.14512907.1393224703952.JavaMail.zimbra@xxxxxxxxxx> <53111DD7.60405@xxxxxxxxxx> <1141611316.19105110.1393666896720.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
commit: dbe74ebf96d

(Ah, so this is a mystery - RHEL 6.3 here FWIW, I can check others too
if its not reproducible on current Fedora).

I have a RHEL7 vm and I built there with no problem. I will try on a RHEL6 box.

POSIX sadly no good on Windows FWIW ... would recommend finding somewhere in
libpcp doing something similar (hopefully something exists, not sure off the
top of my head though), and do it that way.  Nothing appears to use gmtime_r

I reversed back to gmtime and put locking around it.

*nod*, plus use of the PCP-tz-option aware APIs above.

Switched to pmLocaltime and __pmMktime

we return success AND we malloc'd errmsg.  In this case, we need to free the 
initial errmsg, don't we?

Right...done

<Prev in Thread] Current Thread [Next in Thread>