diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-08-26 17:34:18 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-08-26 17:34:18 +0000 |
| commit | a5ff4125cf08a83f7e67f498e423f3e354144327 (patch) | |
| tree | 3f5c8fc85769b8c13a563a34b12b1b89191190e0 /lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | f22ffd63aa83976251a7b425ac17b8ecb8a80177 (diff) | |
* Fix case where the source is - and the target exists.
* Only call chflags() (to remove flags that might prevent us from
replacing an existing target) in the exists case; otherwise,
to_sb.st_flags is uninitialized.
* Rename the source file in the stdin test case.
* Extend null and stdin test cases to cover the case where the
target already exists.
PR: 297681
MFC after: 1 week
Fixes: d34870708db9 ("install: Allow installing stdin")
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D59144
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
