diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-01 08:13:30 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-01 08:13:30 +0000 |
commit | b5c6181a7ea0f95135741f35e729efa741de21f0 (patch) | |
tree | ab77e016972d0b523754cf5869cc928dea857ab1 | |
parent | a4a9581ef06cff499659e1a36dce59e9198277d9 (diff) | |
download | ruby-b5c6181a7ea0f95135741f35e729efa741de21f0.tar.gz ruby-b5c6181a7ea0f95135741f35e729efa741de21f0.tar.xz ruby-b5c6181a7ea0f95135741f35e729efa741de21f0.zip |
* eval.c (rb_call0): wrong condition for $SAFE restoration.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Thu Sep 1 17:11:25 2005 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval.c (rb_call0): wrong condition for $SAFE restoration. + Thu Sep 1 14:12:45 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't @@ -15,7 +19,7 @@ Wed Aug 31 14:41:30 2005 NAKAMURA Usaku <usa@ruby-lang.org> Wed Aug 31 10:36:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * process.c (proc_detach, proc_setmaxgroups): missing argument type - declaration. (I recomment ANSI-style function) + declaration. (I recommend ANSI-style function) Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> @@ -5959,7 +5959,7 @@ rb_call0(klass, recv, id, oid, argc, argv, body, flags) POP_CLASS(); POP_SCOPE(); ruby_cref = saved_cref; - if (safe > 0) ruby_safe_level = safe; + if (safe >= 0) ruby_safe_level = safe; if (event_hooks) { EXEC_EVENT_HOOK(RUBY_EVENT_RETURN, body, recv, id, klass); } |