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

* eval.c (rb_eval): should override existing class.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2001-10-02 09:36:23 +00:00
parent 3ab5d775b7
commit fe3b676fa2
4 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Tue Oct 2 18:31:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should override existing class.
Mon Oct 1 19:18:54 2001 Tanaka Akira <akr@m17n.org>
* ext/socket/socket.c (unix_addr): getsockname(2) may result len = 0.

4
config.guess vendored
View file

@ -870,11 +870,11 @@ EOF
objdump --private-headers $dummy | \
grep ld.so.1 > /dev/null
if test "$?" = 0 ; then
LIBC="libc1"
LIBC="-libc1"
fi
fi
rm -f $dummy.s $dummy
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
echo ${UNAME_MACHINE}-unknown-linux${LIBC}
exit 0 ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level

1
eval.c
View file

@ -3082,7 +3082,6 @@ rb_eval(self, n)
tmp = RCLASS(tmp)->super;
}
if (tmp != super) {
super = tmp;
goto override_class;
}
}

View file

@ -3415,7 +3415,7 @@ re_search(bufp, string, size, startpos, range, regs)
\
*stackp++ = pattern_place; \
*stackp++ = string_place; \
*stackp++ = (unsigned char*)options; /* current option status */ \
*stackp++ = (unsigned char*)(long)options; /* current option status */ \
*stackp++ = (unsigned char*)0; /* non-greedy flag */ \
} while(0)
@ -4296,7 +4296,7 @@ re_match(bufp, string_arg, size, pos, regs)
goto fail;
}
stackp--; /* discard greedy flag */
options = (int)*--stackp;
options = (long)*--stackp;
d = *--stackp;
p = *--stackp;
/* Restore register info. */