1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old

ruby_vars is already force_recycled.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2001-10-31 06:52:25 +00:00
parent b7f167d9a7
commit 50dddfaccf
4 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
ruby_vars is already force_recycled.
Wed Oct 31 02:44:06 2001 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: CGI::Cookie::parse(): Ignore duplicate keys caused by

2
config.sub vendored
View file

@ -117,7 +117,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
nto-qnx* | linux-gnu* | linux-libc1 | storm-chaos* | os2-emx*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;

3
eval.c
View file

@ -593,7 +593,8 @@ struct RVarmap *ruby_dyna_vars;
#define POP_VARS() \
if (_old && (ruby_scope->flag & SCOPE_DONT_RECYCLE)) \
FL_SET(_old, DVAR_DONT_RECYCLE); \
if (RBASIC(_old)->flags) /* unless it's already recycled */ \
FL_SET(_old, DVAR_DONT_RECYCLE); \
ruby_dyna_vars = _old; \
}

View file

@ -1,4 +1,4 @@
#define RUBY_VERSION "1.6.5"
#define RUBY_RELEASE_DATE "2001-10-30"
#define RUBY_RELEASE_DATE "2001-10-31"
#define RUBY_VERSION_CODE 165
#define RUBY_RELEASE_CODE 20011030
#define RUBY_RELEASE_CODE 20011031