diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 12 | ||||
-rw-r--r-- | lib/mailread.rb | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index a8a41ef978..7b95475dce 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -83,7 +83,6 @@ class DEBUGGER__ @stop_next = 0 end @last_file = nil - @last = [nil, nil] @file = nil @line = nil @no_step = nil @@ -701,14 +700,9 @@ EOHELP # nothing to do. skipped. end if @stop_next == 0 or check_break_points(file, line, binding, id) - if [file, line] == @last - @stop_next = 1 - else - @no_step = nil - suspend_all - debug_command(file, line, id, binding) - @last = [file, line] - end + @no_step = nil + suspend_all + debug_command(file, line, id, binding) end when 'call' diff --git a/lib/mailread.rb b/lib/mailread.rb index ee86d353eb..7573d03ed4 100644 --- a/lib/mailread.rb +++ b/lib/mailread.rb @@ -14,7 +14,7 @@ class Mail next if /^From /=~line # skip From-line break if /^$/=~line # end of header - if /^(\S+):\s*(.*)/=~line + if /^(\S+?):\s*(.*)/=~line (attr = $1).capitalize! @header[attr] = $2 elsif attr |