diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-13 13:05:24 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-13 13:05:24 +0000 |
commit | 1184373d867f0e4792b3a6da11acfd2cf4c0b330 (patch) | |
tree | c93cdc524880d4142cfe48dcb194207d05a34263 /lib/debug.rb | |
parent | b6f1c0e2846acbbc9d694b1207c778e1d6db63e3 (diff) |
* 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
Diffstat (limited to 'lib/debug.rb')
-rw-r--r-- | lib/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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, |