diff options
author | dgp <dgp@users.sourceforge.net> | 2000-12-14 22:24:45 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2000-12-14 22:24:45 (GMT) |
commit | cced21f712893036cd46da8879ba0bf48bca9c48 (patch) | |
tree | be94609b8cdd9a6fa99217e63f11a8b23e5185a0 /ChangeLog | |
parent | ab4eb3fe6a6e7f494057f9bc9af0c1a4489c5f88 (diff) | |
download | tcl-cced21f712893036cd46da8879ba0bf48bca9c48.zip tcl-cced21f712893036cd46da8879ba0bf48bca9c48.tar.gz tcl-cced21f712893036cd46da8879ba0bf48bca9c48.tar.bz2 |
2000-12-14 Don Porter <dgp@users.sourceforge.net>
* generic/tclExecute.c:
* tests/expr-old.test: Re-wrote Tcl's [expr rand()] and
[expr srand($seed)] implementations, fixing a range error
on some 64-bit platforms. Added tests that detect the bug.
The rewrite changes the seed -> sequence map on 64-bit
platforms, only for seed >= 2^31, a slight incompatibility.
[Bug 121072, Patch 102781]
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2000-12-14 Don Porter <dgp@users.sourceforge.net> + + * generic/tclExecute.c: + * tests/expr-old.test: Re-wrote Tcl's [expr rand()] and + [expr srand($seed)] implementations, fixing a range error + on some 64-bit platforms. Added tests that detect the bug. + The rewrite changes the seed -> sequence map on 64-bit + platforms, only for seed >= 2^31, a slight incompatibility. + [Bug 121072, Patch 102781] + 2000-12-10 Don Porter <dgp@users.sourceforge.net> * library/init.tcl: |