mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (rb_f_system): abandon vfork.
* io.c (pipe_open): ditto. * defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS * regex.c (re_search): abandon stclass optimization. * bignum.c (rb_cstr2inum): deny "0_". * bignum.c (rb_cstr2inum): allow "0\n" and so on. * error.c (rb_invalid_str): utility function to show inspect()'ed string. * bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed format. * object.c (rb_Float): ditto. * object.c (rb_convert_type): no longer use rb_rescue(). * re.c (rb_reg_search): initialize taint status of match object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a7685a6b87
commit
459031e5d9
16 changed files with 97 additions and 103 deletions
|
@ -7,6 +7,7 @@ if $SAFE > 0
|
|||
end
|
||||
|
||||
require 'tracer'
|
||||
require 'pp'
|
||||
|
||||
class Tracer
|
||||
def Tracer.trace_func(*vars)
|
||||
|
@ -510,6 +511,9 @@ class DEBUGGER__
|
|||
prompt = false
|
||||
end
|
||||
|
||||
when /^\s*pp\s+/
|
||||
PP.pp(debug_eval($', binding), 79, stdout)
|
||||
|
||||
when /^\s*p\s+/
|
||||
stdout.printf "%s\n", debug_eval($', binding).inspect
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue