summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-16 07:04:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-16 07:04:45 +0000
commit2e0163f57603147dc0fb005191c7cff27d444be9 (patch)
treee6681174ee51d39378e25f8d67272b0ffea68177
parentaa3570b118c4af4eeac7437ef3b69709db6f8f58 (diff)
alpha bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--config.guess4
-rw-r--r--eval.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index c2443e3..e29d6ab 100644
--- a/config.guess
+++ b/config.guess
@@ -624,11 +624,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-gnu${LIBC} ; exit 0
+ echo ${UNAME_MACHINE}-unknown-linux${LIBC} ; exit 0
elif test "${UNAME_MACHINE}" = "mips" ; then
cat >dummy.c <<EOF
main(argc, argv)
diff --git a/eval.c b/eval.c
index 65d4f47..7530b3f 100644
--- a/eval.c
+++ b/eval.c
@@ -4509,7 +4509,7 @@ rb_load(fname, wrap)
VALUE *vars = TMP_ALLOC(len);
*vars++ = 0;
MEMCPY(tbl, top_scope->local_tbl, ID, len);
- MEMCPY(vars, top_scope->local_vars, ID, len-1);
+ MEMCPY(vars, top_scope->local_vars, VALUE, len-1);
ruby_scope->local_tbl = tbl; /* copy toplevel scope */
ruby_scope->local_vars = vars; /* will not alter toplevel variables */
}