diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 00:20:16 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 00:20:16 +0000 |
| commit | faa903c341b98ba0c5e3fc96abba3af66f166fd7 (patch) | |
| tree | e196d0de10c091187b6d93225d2d9b0cd51ae0dc /lib/importenv.rb | |
| parent | 10cd84ca16e2d7d4ca5c9d588f1c06c275bf65c9 (diff) | |
| download | ruby-faa903c341b98ba0c5e3fc96abba3af66f166fd7.tar.gz ruby-faa903c341b98ba0c5e3fc96abba3af66f166fd7.tar.xz ruby-faa903c341b98ba0c5e3fc96abba3af66f166fd7.zip | |
* string.c (rb_str_cmp_m): should not return false but nil.
fixed: [ruby-dev:25811]
* lib/cgi-lib.rb: add deprecation warning. [ruby-dev:25499]
getopts.rb, parsearg.rb, importenv.rb as well.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/importenv.rb')
| -rw-r--r-- | lib/importenv.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/importenv.rb b/lib/importenv.rb index 435d6f972..8e1ba33b1 100644 --- a/lib/importenv.rb +++ b/lib/importenv.rb @@ -7,6 +7,8 @@ # $USER = "matz" # p ENV["USER"] +warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: importenv is deprecated after Ruby 1.8.1 (no replacement)" + for k,v in ENV next unless /^[a-zA-Z][_a-zA-Z0-9]*/ =~ k eval <<EOS |
