https://sourceware.org/bugzilla/show_bug.cgi?id=29284

--- Comment #4 from Jan Engelhardt <jengelh at inai dot de> ---
Come to think of it, instead of truncation, compiler and linkers could:

 * unlink (optional, but worthwhile, since it retains the
   disk space usage pattern as truncation)
 * create temp file in target directory (O_TMPFILE where available,
   otherwise plain)
 * rename

That way, any intermediate state would not be exposed. Files of size 0 would
then be legitimate 0-sized files only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to