summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 14:23:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 14:23:33 +0000
commit993a1b3626ab6000b9444712f555645160d8abe8 (patch)
tree92794226e7672713346ac7cdbbfca1472b19f252 /lib
parentd0b9aa277f4991b9f1a4895cbcec177ae8cd6404 (diff)
downloadruby-993a1b3626ab6000b9444712f555645160d8abe8.tar.gz
ruby-993a1b3626ab6000b9444712f555645160d8abe8.tar.xz
ruby-993a1b3626ab6000b9444712f555645160d8abe8.zip
* gc.c (gc_mark): explicitly check mark recursion levels, instead
of unreliable stack length. * file.c (path_check_1): honor sticky bits always. [ruby-talk:86273] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/debug.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index b15f4d4b5..abb068f2c 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -272,6 +272,7 @@ class Context
while prompt and input = readline("(rdb:%d) "%thnum(), true)
catch(:debug_error) do
if input == ""
+ next unless DEBUG_LAST_CMD[0]
input = DEBUG_LAST_CMD[0]
stdout.print input, "\n"
else