summaryrefslogtreecommitdiff
path: root/libihash/primes.c
AgeCommit message (Collapse)Author
1999-03-071999-03-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* primes.c: Fix last change.
1999-03-05Fri Mar 5 17:13:04 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* primes.c (_ihash_nextprime): Use a dynamically-sized array for `seive' instead of alloca, so that if we are looping we won't allocate more stack than necessary. Suggested by wesommer@mit.edu (Bill Sommerfeld).
1996-04-11Include "priv.h".Michael I. Bushnell
1996-04-11(_ihash_nextprime): Renamed from nextprime.c. All callers changed.Michael I. Bushnell
1996-03-07Include <spin_lock.h>.Michael I. Bushnell
(table_lock): New variable. (nextprime): Lock table_lock around operation of routine.
1995-03-31Initial revisionMiles Bader