Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX
- X-seq: zsh-workers 30650
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: prevent SIGFPE on systems where LONG_MIN < -LONG_MAX
- Date: Mon, 3 Sep 2012 16:32:46 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ccPaTcmYbSaWgN0dDAdY+AX4iB1hFxQvo528WXSQQ0U=; b=NUsa5fBRJ+C7mgFMD1BqbmlhRsOSCg0Y4+Y7hjshB5KDZv9rEaPqMExMOMQWSfeVb9 A6FU6ZToDSeXu5k0i030aC7itxztilyzzpXIQ1YE7qyXJ9gSwp6YuqP/TV6Jmq96OqxB 0w1y394QjLyETW/bxs0oRm/+b0am6jvuQ7RTrEOIzuzUmEj4yXJSTo9c5BaDvK0RJllh rtd6LZGDw0KAOv2Op773kytvNsGpbh2vgZv8yn6uhK8VdWIT8ZfTBF3T2pNThize7JOW CUV6HN5d5XkFY351zAhYFfClILflkMstm2OTu8eRFCnArDT9D2MajSD4Ap7eLxQBpIXV Qhzg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
$ echo $[ - 2**63 / -1 ]
zsh: floating point exception ./Src/zsh
$ echo $[ - 2**63 % -1 ]
zsh: floating point exception ./Src/zsh
The attached patch fixes this.
Best regards,
--
Jérémie
Attachment:
zsh_fix_sigfpe.patch
Description: Binary data
Messages sorted by:
Reverse Date,
Date,
Thread,
Author