From 1184373d867f0e4792b3a6da11acfd2cf4c0b330 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 13 Oct 2003 13:05:24 +0000 Subject: * string.c (str_new4): should not preserve FL_TAINT status in the internal shared string. [ruby-dev:21601] * string.c (rb_str_new4): ditto. * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values. * process.c: ditto. [ruby-dev:38521] * lib/debug.rb (debug_command): should enter emacs mode when assigned any value to the environment variable "EMACS". On Meadow, (getenv "EMACS") is "meadow". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/debug.rb') diff --git a/lib/debug.rb b/lib/debug.rb index 58ff8e5f2c..59dcae5e15 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -261,7 +261,7 @@ class Context binding_file = file binding_line = line previous_line = nil - if (ENV['EMACS'] == 't') + if ENV['EMACS'] stdout.printf "\032\032%s:%d:\n", binding_file, binding_line else stdout.printf "%s:%d:%s", binding_file, binding_line, -- cgit v1.2.3