FS#11947 - tzdata: zdump infinite loop
Attached to Project:
Arch Linux
Opened by Jonathan Frazier (wide-eye) - Friday, 31 October 2008, 07:57 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 19 November 2008, 20:55 GMT
Opened by Jonathan Frazier (wide-eye) - Friday, 31 October 2008, 07:57 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 19 November 2008, 20:55 GMT
|
Details
Description:
"zdump -v /etc/localtime" gets stuck in an infinite loop, repeating the timezone data. it should print out the list of dates just once. if tzdata is built with -O1 instead of -O2 (CFLAGS="-march=i686 -O1 -pipe"), or with "unset CFLAGS" in its PKGBIULD, zdump works as expected. Versions: error occurred with core/tzdata 2008f-1 and abs built: _tzcode=2008h _tzdata=2008i (source of tzdata 2008h is unavailable) gcc 4.3.2-1 |
This task depends upon
zdump.c:429: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false
zdump.c:357: warning: assuming signed overflow does not occur when assuming that (X + c) <= X is always false