'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.