diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-03-28 17:39:35 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-03-28 17:39:35 +0000 |
commit | 4f53bc3fcd0ab6e30f627d9e946e36f903164735 (patch) | |
tree | bb191c54b324ef266068533a2ac3da714f8de1b0 /proc | |
parent | c6b3c027470d94c7856a3d53f4c2296caab373fa (diff) |
Formerly primes.c.~3~
Diffstat (limited to 'proc')
-rw-r--r-- | proc/primes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proc/primes.c b/proc/primes.c index 896f84fb..b5e24d3e 100644 --- a/proc/primes.c +++ b/proc/primes.c @@ -51,6 +51,8 @@ growprimes () iscomp = alloca (sizeof (int) * nints); bzero (iscomp, sizeof (int) * nints); + + for (i = 0; i < nprimes; i++) for (j = primes[i] * 2; j < nints; j += primes[i]) iscomp[j] = 1; |