Quoting Lupe Christoph:

> Yepp. Inserting #define _STRPTIME_DONTZERO in Piece.xs make the tests
> all pass on Solaris. Your code relies on seemingly undefined behaviour
> in strptime, namely the non-zeroing of the struct tm fields.

Confirmed, but note that #define _STRPTIME_DONTZERO must be
placed before any #include <time.h> where strptime() it's
redefined to __strptime_dontzero().

Best regards,

--
Alex Muntada <[EMAIL PROTECTED]>
http://people.ac.upc.es/alexm/

Reply via email to