I've switched to %x which doesn't crash. (time->string (seconds->local-time 1293596970) "%x") "12/28/10"
On Tue, Dec 28, 2010 at 8:27 AM, Matt Welland <[email protected]> wrote: > On Tue, Dec 28, 2010 at 4:38 AM, Felix < > [email protected]> wrote: > >> From: Matt Welland <[email protected]> >> Subject: [Chicken-users] chicken 4.6.3 posix time->string overflows buffer >> Date: Mon, 27 Dec 2010 22:28:17 -0700 >> >> > #;7> (use posix) >> > ; loading library posix ... >> > #;8> (time->string (seconds->local-time 1293596970) "%D") >> > >> > Error: (time->string) time formatting overflows buffer: #(30 29 21 28 11 >> 110 >> > 2 3 >> > 61 #f 25200) >> > >> > Call history: >> > >> > <syntax> (time->string (seconds->local-time >> 1293596970.) >> > "%D") >> > <syntax> (seconds->local-time 1293596970.) >> > <eval> (time->string (seconds->local-time 1293596970.) "%D") >> > <eval> (seconds->local-time 1293596970.) <-- >> >> Is this on mingw? I can't reproduce this right now on Linux. >> >> cheers, >> felix >> > > Yes, it is MinGW with chicken 4.6.3 and same behavior on a different > machine with 4.6.0
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
