'make index' removes INDEX before building INDEX
Steps to Reproduce:
1) Run a 'make index'.
2) Interrupt it.
INDEX file gone.
INDEX file should only be replaced at the point where there's a
new INDEX to replace it; essentially, build INDEX.tmp, then swap
Created attachment 159515 [details]
Pending creation of phabricator review
Differential Revision: https://reviews.freebsd.org/D3298
ping! I think it is a good idea.
Patch should updated, line numbers had changed.
Created attachment 207239 [details]
Created attachment 207240 [details]
Forgot remove one line.
What's the status here?
Very frequently, `make fetchindex` retrieves a partial INDEX. Looking at my logs, 18% of my fetchindex runs were aborted due to a truncated INDEX-12.bz2. If this patch will resolve that (will it?), I'm in favor of it.