OK, I didn't see this because it wasn't attached to the ticket.  I posted an 
alternate patch on #1014 which just addresses the "old data" problem in 
string->time.  As far as I can tell, the various uses of C_tm can not interfere 
with each other and all one needs to do is initialize C_tm to a sane default 
just prior to calling strptime.  Does that look correct?

On May 24, 2013, at 3:26 PM, Peter Bex <peter....@xs4all.nl> wrote:

> Hi all,
> 
> Attached is a bit of a nasty patch which slightly cleans up the even
> nastier C macro hackery in posixunix/posixwin/posix-common.
> 
> This fixes #1014, which was created by David Krentzlin today.
> 
> I'd appreciate if someone could test whether this does not break
> anything on Windows.  The posixwin.scm change is pretty small,
> but you never know :)
> 
> Cheers,
> Peter
> -- 
> http://www.more-magic.net
> <0001-Some-shuffling-about-and-fixing-of-the-POSIX-time-ha.patch>_______________________________________________
> Chicken-hackers mailing list
> Chicken-hackers@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers


_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to