[PATCH] Do not flush BufFile for regular temp files
[PATCH] Do not flush BufFile for regular temp files
Hi, hackers! I have noticed that when we call BufFileClose, then we flush any remaining data to file unconditionally. But when we use regular temp files (BufFileCreateTemp), then the file is deleted on close and that flush was useless. There is simple patch checking whether we should flush data or not. --- Sergey Soloviev TantorLabs: https://tantorlabs.com