* Mark A. Wicks <[EMAIL PROTECTED]> [2007-02-12 18:37]: > Can you try the attached patch (after applying the earlier patch)? > On 32 bit machines, longs and ints are usually the same. They're > different on AMD64. That's why the error was only noticed on that > architecture.
> Thanks. That was what I needed to locate the problem. OK, with your patch I get D:20070213021254+01'00', which looks correct. > >Although now I'm confused. How can this string be 36 characters > when >the length of the date_string array is 25? > > That's why it was crashing. The printf was writing 36 characters > which overran the 25 byte buffer. Yeah, but that doesn't explain why it didn't segfault when I changed it to 26 bytes. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]