Hello, * On Thu, Aug 20, 2009 at 03:38:34PM +0200 Groepaz wrote: > b) in asctime.c the temporary buffer to which the time string is copied is too > small, which makes the function always fail :) the maximum length string is > something like "Wednesday September ..1 00:00:00 1970", meaning the buffer > should be 38 bytes atleast (and not 26 like now :)) Does CC65 really use full names? C90, "4.12.3.1 The asctime function", clearly states that the day-of-week has to be abbreviated to 3 letters, as well as the month. Thus, 26 chars should be enough. Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Aug 20 16:48:20 2009
This archive was generated by hypermail 2.1.8 : 2009-08-20 16:48:22 CEST