diff --git a/ChangeLog b/ChangeLog index 84bda6a25f..425912f1bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ -Fri Jan 16 14:56:49 2004 Nobuyoshi Nakada +Fri Jan 16 23:53:09 2004 Nobuyoshi Nakada - * eval.c (proc_eq): compare also arguments and environment. - [ruby-dev:22590] + * eval.c (proc_eq): compare also arguments and environment + (including local variables). [ruby-dev:22590] Fri Jan 16 14:33:35 2004 Nobuyoshi Nakada diff --git a/eval.c b/eval.c index 1b769d58c9..0ad7402877 100644 --- a/eval.c +++ b/eval.c @@ -8215,6 +8215,7 @@ proc_eq(self, other) if (data->body != data2->body) return Qfalse; if (data->var != data2->var) return Qfalse; if (data->frame.uniq != data2->frame.uniq) return Qfalse; + if (data->dyna_vars != data2->dyna_vars) return Qfalse; return Qtrue; }