1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Bug fix: make -j 0 work.

This commit is contained in:
Bruno Haible
2003-01-14 12:45:46 +00:00
parent f60e559cfa
commit c67f999b54
3 changed files with 38 additions and 22 deletions

View File

@@ -1,5 +1,12 @@
2002-11-03 Bruno Haible <bruno@clisp.org>
Bug fix: When option -j 0 was used without option -r, the output was
not random.
* src/search.h (Search::prepare_asso_values): New method declaration.
* src/search.cc (Search::prepare_asso_values): New method, extracted
from Search::init_asso_values. Call srand also when "-j 0" was given.
(Search::optimize): Call prepare_asso_values().
* src/hash-table.h (Hash_Table::_ignore_length, Hash_Table::equal):
Declare as const.
* src/hash-table.cc (Hash_Table::equal): Declare as const.