[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29284] ld silently exits with empty input files with success
From: |
jengelh at inai dot de |
Subject: |
[Bug ld/29284] ld silently exits with empty input files with success |
Date: |
Tue, 28 Jun 2022 17:02:09 +0000 |
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.
- [Bug ld/29284] New: ld silently exits with empty input files with success, jengelh at inai dot de, 2022/06/24
- [Bug ld/29284] ld silently exits with empty input files with success, crrodriguez at opensuse dot org, 2022/06/24
- [Bug ld/29284] ld silently exits with empty input files with success, nickc at redhat dot com, 2022/06/27
- [Bug ld/29284] ld silently exits with empty input files with success, nickc at redhat dot com, 2022/06/27
- [Bug ld/29284] ld silently exits with empty input files with success, jengelh at inai dot de, 2022/06/27
- [Bug ld/29284] ld silently exits with empty input files with success, nickc at redhat dot com, 2022/06/28
- [Bug ld/29284] ld silently exits with empty input files with success,
jengelh at inai dot de <=