diff options
author | rsc <devnull@localhost> | 2005-07-24 13:26:43 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-24 13:26:43 +0000 |
commit | d4daacdef153ef05d6a3a6c5431290fa41ffbfc1 (patch) | |
tree | be9040bf6fecf80b3b59d834715d28caaa980751 | |
parent | 8af6c6b79a1a561dfb047494207f5b7dea02d182 (diff) | |
download | plan9port-d4daacdef153ef05d6a3a6c5431290fa41ffbfc1.tar.gz plan9port-d4daacdef153ef05d6a3a6c5431290fa41ffbfc1.tar.bz2 plan9port-d4daacdef153ef05d6a3a6c5431290fa41ffbfc1.zip |
construct bloom filter in buildindex
-rw-r--r-- | src/cmd/venti/srv/buildindex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c index 8714474a..4cf60293 100644 --- a/src/cmd/venti/srv/buildindex.c +++ b/src/cmd/venti/srv/buildindex.c @@ -156,5 +156,8 @@ threadmain(int argc, char *argv[]) if(buildindex(mainindex, part, base, clumps, zero) < 0) sysfatal("can't build new index: %r"); + if(mainindex->bloom) + writebloom(mainindex->bloom); + threadexitsall(0); } |