summaryrefslogtreecommitdiff
path: root/ext/sdbm/init.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-08 08:12:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-08 08:12:08 +0000
commit2c247e3d6bf178c4b19c87b6c55635467624864f (patch)
tree23dc7651a8817f9242a155cd33c47ead87a3fa51 /ext/sdbm/init.c
parent8d7d25a0545296a1b9df506a8ab9fe930929ab6a (diff)
* io.c (rb_f_open): open should not ignore block when "to_open"
method is used. [ruby-dev:23478] * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm/init.c')
-rw-r--r--ext/sdbm/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 77b27af..2dfd171 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -273,9 +273,7 @@ fdbm_modify(obj)
VALUE obj;
{
rb_secure(4);
- if (OBJ_FROZEN_P(obj)) {
- if (OBJ_FROZEN(obj)) rb_error_frozen("SDBM");
- }
+ if (OBJ_FROZEN(obj)) rb_error_frozen("SDBM");
}
static VALUE