summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:25:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-16 09:25:59 +0000
commite4f1a557fd6f5189c28cd6663b90f8f6c6c1b686 (patch)
tree55cf5527b0186a806844bf63754fd6e27cebd45e /st.c
parentaefad35e2c5ef6077a095b66e2d59602d36f83ef (diff)
downloadruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.tar.gz
ruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.tar.xz
ruby-e4f1a557fd6f5189c28cd6663b90f8f6c6c1b686.zip
* st.c: primes should be primes.
* eval.c (is_defined): method defined? check should honor protected too. * eval.c (block_pass): should not pass tainted block, if $SAFE > 0. * variable.c (rb_mod_remove_cvar): should pass the char*. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/st.c b/st.c
index c1e4e3bec..5380a81e0 100644
--- a/st.c
+++ b/st.c
@@ -86,25 +86,25 @@ static long primes[] = {
512 + 9,
1024 + 9,
2048 + 5,
- 4096 + 83,
+ 4096 + 3,
8192 + 27,
16384 + 43,
32768 + 3,
65536 + 45,
- 131072 + 9,
- 262144 + 39,
- 524288 + 39,
- 1048576 + 9,
- 2097152 + 5,
- 4194304 + 3,
- 8388608 + 33,
- 16777216 + 27,
- 33554432 + 9,
- 67108864 + 71,
- 134217728 + 39,
- 268435456 + 9,
- 536870912 + 5,
- 1073741824 + 83,
+ 131072 + 29,
+ 262144 + 3,
+ 524288 + 21,
+ 1048576 + 7,
+ 2097152 + 17,
+ 4194304 + 15,
+ 8388608 + 9,
+ 16777216 + 43,
+ 33554432 + 35,
+ 67108864 + 15,
+ 134217728 + 29,
+ 268435456 + 3,
+ 536870912 + 11,
+ 1073741824 + 85,
0
};