diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-14 19:46:47 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-14 19:46:47 -0500 |
commit | 5c06214952017d03f5e36bd1fbf25c1969922d80 (patch) | |
tree | 978ad6fa98723bfbf9906301fc37cea9ffe21d3d /src | |
parent | 1f799495e4aa89be5f32e3fcda8da342f3057f3c (diff) | |
download | plan9port-5c06214952017d03f5e36bd1fbf25c1969922d80.tar.gz plan9port-5c06214952017d03f5e36bd1fbf25c1969922d80.tar.bz2 plan9port-5c06214952017d03f5e36bd1fbf25c1969922d80.zip |
venti/buildindex: fix hang on large indexes
Fixes #93.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/venti/srv/buildindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c index faf4b414..540f0fdc 100644 --- a/src/cmd/venti/srv/buildindex.c +++ b/src/cmd/venti/srv/buildindex.c @@ -164,7 +164,7 @@ threadmain(int argc, char *argv[]) } /* wait for arena procs to finish */ - for(nfinish=0; nfinish<napart; nfinish++) + for(; nfinish<napart; nfinish++) recvp(arenadonechan); /* tell index procs to finish */ |