Re: [Plplot-devel] Example 29 troubles

2008-11-21 Thread Werner Smekal
Hi Alan, > > It sounds like your plan to check the return value of gmtime is exactly what > we should be doing for now so please go ahead. I wasn't sure if I should use plexit() or plabort(), but looking at other code I decided to use plabort() and return, if gmtime() returns NULL. That also me

Re: [Plplot-devel] Example 29 troubles

2008-11-20 Thread Alan W. Irwin
On 2008-11-21 00:15+0100 Werner Smekal wrote: > [...] gmtime() is called with a negative value, 0 is returned, and if that is > dereferenced than it crashes. I found two postings in the internet: > > http://markmail.org/message/55gg5qz6c26a4edd > http://www.nntp.perl.org/group/perl.perl5.porters/2