diff options
author | Ron Yorston <rmy@pobox.com> | 2025-07-30 12:26:23 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2025-07-30 12:26:23 +0100 |
commit | 3ddcebe75d5cb062eb84a8fb92ec0e7554ed3d05 (patch) | |
tree | 706455dec8f5078e1faad42ee241950fbf91cf76 /e2fsprogs/ext2fs/dir_iterate.c | |
parent | 1f6926252ec11037b06e29791920e6c13d169520 (diff) | |
download | busybox-w32-3ddcebe75d5cb062eb84a8fb92ec0e7554ed3d05.tar.gz busybox-w32-3ddcebe75d5cb062eb84a8fb92ec0e7554ed3d05.tar.bz2 busybox-w32-3ddcebe75d5cb062eb84a8fb92ec0e7554ed3d05.zip |
sed: ensure temporary file is deleted on error
It wasn't possible to delete the temporary output file in
case of error on Windows because it was open.
Close the file before trying to unlink it.
Adds 16 bytes.
(GitHub issue #509)
Diffstat (limited to 'e2fsprogs/ext2fs/dir_iterate.c')
0 files changed, 0 insertions, 0 deletions