2 ms·
That isn't robust to failures, though. What you sould be doing is first writing the new binary using a temporary file name, and then you can rename the new fil
by kelnos 1y ago
That isn't robust to failures, though. What you sould be doing is first writing the new binary using a temporary file name, and then you can rename the new file to the correct binary name, which is an atomic operation.