aboutsummaryrefslogtreecommitdiff
path: root/time/bug-asctime.c
AgeCommit message (Collapse)AuthorFilesLines
2005-10-14[BZ #1460]Ulrich Drepper1-0/+1
* time/asctime.c (asctime_internal): New function, derived from asctime_r. Takes additional parameter which is the buffer length. Use snprintf instead sprintf, if it overflows, fail. (asctime_r): Call asctime_internal with 26 as buffer length. (asctime): Call asctime_internal with length of internal buffer. * time/Makefile (tests): Add bug-asctime_r. * time/bug-asctime_r.c: New file.
2005-10-14[BZ #1459]Ulrich Drepper1-0/+32
* time/asctime.c (__asctime_r): Check for tm_year computation to overflow and fail in this case. * time/Makefile (tests): Add bug-asctime. * time/bug-asctime.c: New file.
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper1-33/+0
2007-07-122.5-18.1Jakub Jelinek1-0/+33