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 | 5c8b4e6720b86dbcf3581b4ea69cb970b10b8c94 (patch) | |
tree | c93cdc524880d4142cfe48dcb194207d05a34263 /lib/debug.rb | |
parent | 1cffe823787e0a635ef8f6cbb071c3d7b9e2dc43 (diff) | |
download | ruby-5c8b4e6720b86dbcf3581b4ea69cb970b10b8c94.tar.gz ruby-5c8b4e6720b86dbcf3581b4ea69cb970b10b8c94.tar.xz ruby-5c8b4e6720b86dbcf3581b4ea69cb970b10b8c94.zip |
* 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: http://svn.ruby-lang.org/repos/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 58ff8e5f2..59dcae5e1 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, |