Project

General

Profile

Actions

Bug #1985

closed

st_delete_safe is not safe

Added by yugui (Yuki Sonoda) over 15 years ago. Updated over 13 years ago.

Status:
Closed
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 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0