Project

General

Profile

Actions

Bug #412

closed

Stack length should be long

Added by pzb (Peter Bowen) about 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:18207]

Description

=begin
STACK_LEVEL_MAX is set to 655300 in some cases. The C specification only guarantees that an unsigned int can hold up to 65535. Therefore, ruby_stack_length should return a long and STACK_LEVEL_MAX, if a variable, should be a long. This issue was found in ruby_1_8_6 branch.
=end


Files

ruby-1.8.6.p286_gc.patch (1.42 KB) ruby-1.8.6.p286_gc.patch pzb (Peter Bowen), 08/09/2008 03:11 AM
ruby-1.8.6.p286_gc.patch (1.42 KB) ruby-1.8.6.p286_gc.patch Fixed patch pzb (Peter Bowen), 08/09/2008 12:33 PM
Actions #1

Updated by pzb (Peter Bowen) about 13 years ago

=begin
The previous patch was bad. I think the correct solution is to declare it as a VALUE, as that is what other stack length variables are declared as.
=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) about 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r18463.
=end

Actions

Also available in: Atom PDF