Project

General

Profile

Bug #1985

st_delete_safe is not safe

Added by yugui (Yuki Sonoda) almost 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-08-23 trunk 24631) [i386-darwin9.8.0]
Backport:
[ruby-core:25080]

Description

=begin
st_delete_safe causes BUS error with the following code
st_table *tbl = st_init_numtable();
ID k = 1, v = 1;
st_insert(tbl, k, v);
st_delete_safe(tbl, &k, &v, 100);

This is because st_delete_safe does not support packed state of st_table.
Is st_delete_safe an API for extension libraries? i.e. Is this limitation of st_delete_safe intentional?
=end


Related issues

Related to Ruby master - Bug #1986: st_cleanup_safe is not safeClosed08/24/2009Actions
#1

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

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

=begin
Applied in changeset r24637.
=end

Also available in: Atom PDF