summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/wcsncpy.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-07-25 12:32:37 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-07-25 12:32:37 +0000
commita654829ade4e3547302a06abb9e65c03361e9196 (patch)
treeff375a7be03a66d5d0ea0e09818ecca0f0ef4275 /newlib/libc/string/wcsncpy.c
parent67d71dbf1077f9f0acb1b569e99ae88817e81580 (diff)
downloadcygnal-a654829ade4e3547302a06abb9e65c03361e9196.tar.gz
cygnal-a654829ade4e3547302a06abb9e65c03361e9196.tar.bz2
cygnal-a654829ade4e3547302a06abb9e65c03361e9196.zip
* syscalls.cc (enum bin_status): Add dir_not_empty.
(try_to_bin): Call NtQueryInformationFile(FileInternalInformation) with exact buffer size. Explain why. Ditto for NtSetInformationFile(FileRenameInformation). Handle race-condition which might lead to renaming a non-empty directory. (unlink_nt): Rearrange and partially rephrase comments related to the STATUS_SHARING_VIOLATION case. Fix condition under which a dir is tested for being non-empty. Handle dir_not_empty return code from try_to_bin. Gracefully handle disappearing directory in rm -r workaround. Fix typo in comment.
Diffstat (limited to 'newlib/libc/string/wcsncpy.c')
0 files changed, 0 insertions, 0 deletions