Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

segfault in strftime



I just found that zsh segfaults when I do this:

 zmodload zsh/datetime
 strftime "%a %d.%m.%Y %H:%M:%S" 67768036191673200

while it doesn't for smaller numbers, like:

 strftime "%a %d.%m.%Y %H:%M:%S" 67768036191673199

It will print a negative year for this value though. Negative results are not a big problem I think, but a segfault could be.

I tried this with zsh-4.3.10 under linux-gnu-x86_64. Can anyone reproduce this?


Sebastian


Messages sorted by: Reverse Date, Date, Thread, Author