maint(): don't truncate the .sid and .hash files to 0-bytes before writing their
new contents, Instead truncate to the new length after writing the new contents. This should make the files more tolerant of "out of disk space" situations and reduce the risk of lost data (0-byte files) due to low/no free disk space.
Please register or sign in to comment