summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-11 06:26:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-11 06:26:19 +0000
commitf2184b2024ffae23462e8e0fec009f4cd9c95c00 (patch)
tree2851c1e3de6cdfdf28617f1b0c2a3df585d136e6 /st.c
parent528c61b5b7b0ff3a40a004d3fba6582791250a0f (diff)
* hash.c (ruby_setenv): readline library leaves their environment
strings uncopied. "free" check revised. * st.c (numhash): should shuffle bits by dividing by prime number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1521 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 e40c6e1017..1908b6a48d 100644
--- a/st.c
+++ b/st.c
@@ -555,5 +555,5 @@ static int
numhash(n)
long n;
{
- return n;
+ return n/7;
}