Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
segfault in strftime
- X-seq: zsh-users 14892
- From: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: segfault in strftime
- Date: Fri, 26 Feb 2010 13:08:48 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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