[cc65] two little bugs

From: Groepaz <groepaz1gmx.net>
Date: 2009-08-20 15:38:34
this is with 2.12.9, didnt check the last snapshot yet...

a) a negative case label gives me an "out of range error" ... funny enough, 
its in one of the files of the runtime lib =P

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 :))

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

I remember when "legal" used to mean lawful; now it means some kind of 
loophole. 
<Leo Kessler>

----------------------------------------------------------------------
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 15:38:05 2009

This archive was generated by hypermail 2.1.8 : 2009-08-20 15:38:07 CEST