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