diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-01-12 15:51:23 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-01-12 15:51:23 +0000 |
commit | 8a0f3bbf2ddf19cb94c83adea8059c9969692be6 (patch) | |
tree | d7d5813c9c71237c234c24b7c14631ba031bf335 /newlib/libc/stdio | |
parent | b98c66ee2c65f9281aba61760002e63ff30e842a (diff) | |
download | cygnal-8a0f3bbf2ddf19cb94c83adea8059c9969692be6.tar.gz cygnal-8a0f3bbf2ddf19cb94c83adea8059c9969692be6.tar.bz2 cygnal-8a0f3bbf2ddf19cb94c83adea8059c9969692be6.zip |
* syscalls.cc (enum bin_status): New type.
(try_to_bin): Return bin_status. Rename win32_path to pc. Rename h
to fh. Rename fh to tmp_fh. Add code to set delete dispostion and
more code to replace file moved to bin by another, temporary file.
Add comments to explain why.
(unlink_nt): Replace move_to_bin with bin_stat. Only set bin_stat
to move_to_bin for non-remote files. As a last resort, call try_to_bin
if setting delete-on-close failed. Only re-set R/O DOS attribute
and only close handle if it's still valid.
Diffstat (limited to 'newlib/libc/stdio')
0 files changed, 0 insertions, 0 deletions