summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-08 14:20:58 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-08 14:20:58 +0000
commit46e8ae110469cc8da8d1aad01dec7cd0a83eaae1 (patch)
treeb226bf0b6becd50f95c027133059e7bf07376bdb /st.c
parent1b6b6ef2d645e99b66e775c9a5ee97e201e141a1 (diff)
* gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve
stack bottom line. * st.c (numhash): should shuffle bits by dividing by prime number. * eval.c (rb_eval): multiple assignment behavior fixed, which results "*a = nil" makes "a == []" now. * eval.c (rb_f_require): should set SCOPE_PUBLIC before calling dln_load(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 625a4c59be..f20549307f 100644
--- a/st.c
+++ b/st.c
@@ -558,5 +558,5 @@ static int
numhash(n)
long n;
{
- return n;
+ return n / 7;
}