[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #298: SRFI-18 time objects store time span as fix
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #298: SRFI-18 time objects store time span as fixnums, which can overflow |
Date: |
Thu, 29 Jul 2010 12:46:59 -0000 |
#298: SRFI-18 time objects store time span as fixnums, which can overflow
----------------------------------+-----------------------------------------
Reporter: felix | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: core libraries | Version: 4.5.x
Keywords: timeout srfi-18 time |
----------------------------------+-----------------------------------------
Changes (by felix):
* keywords: => timeout srfi-18 time
* milestone: 4.6.0 =>
Comment:
This is quite serious. `(##sys#fudge 6)`, `(##sys#fudge 16)` and the C
runtime functions `milliseconds()' and `cpu_milliseconds()`, including all
variables that are set to results of these are affected. The `tcp` unit
uses them for timeout calculations as does the scheduler (which is
compiled in fixnum mode).
Damn.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/298#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.