diff options
author | Ron Yorston <rmy@pobox.com> | 2015-03-04 09:07:57 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-03-04 09:07:57 +0000 |
commit | ba0c36cfcf84efbac6f89e27238e04bb57e9cd45 (patch) | |
tree | 1ca31bc62b664b50a4b0fae8996e4abff2c9143e /procps | |
parent | 939a8e932851124e05f14df53a925b185054b5ae (diff) | |
download | busybox-w32-ba0c36cfcf84efbac6f89e27238e04bb57e9cd45.tar.gz busybox-w32-ba0c36cfcf84efbac6f89e27238e04bb57e9cd45.tar.bz2 busybox-w32-ba0c36cfcf84efbac6f89e27238e04bb57e9cd45.zip |
ar: fix modification of existing archives
When modifying an existing archive the code opens the old file, unlinks
it and creates a new file with the same name. This doesn't work on
Windows where it isn't possible to unlink an open file. Instead we
create a temporary file for output and change it's name when we're done.
Diffstat (limited to 'procps')
0 files changed, 0 insertions, 0 deletions