summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-19 04:58:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-19 04:58:09 +0000
commitfba998af1b17e852325c14cd0eaabed7beafb0fb (patch)
tree5a94fed5e441970a8761231b0e5acb790fc3ac5c /lib
parent3cff13cb2c8df5072edc90f99cf1631a0e5b86a5 (diff)
* parse.y (parse_regx): should raise error on untermitated
expression interpolation. * pack.c (pack_unpack): should give length to utf8_to_uv(). * pack.c (utf8_to_uv): add length check. * eval.c (rb_thread_wait_for): select may cause ERESTART on Solaris. * eval.c (rb_thread_select): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/pstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index d5334efda4..138e9aa520 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -120,7 +120,7 @@ class PStore
ensure
@table = nil
@transaction = false
- file.close
+ file.close if file
end
value
end