about summary refs log tree commit diff
path: root/time/bug-asctime.c
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #1460]Ulrich Drepper2005-10-141-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.
* [BZ #1459]Ulrich Drepper2005-10-141-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.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-33/+0
|
* 2.5-18.1Jakub Jelinek2007-07-121-0/+33