Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-07-25 16:32:37 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-07-25 16:32:37 +0400
commita654829ade4e3547302a06abb9e65c03361e9196 (patch)
treeff375a7be03a66d5d0ea0e09818ecca0f0ef4275 /winsup/cygwin/ChangeLog
parent67d71dbf1077f9f0acb1b569e99ae88817e81580 (diff)
* 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 'winsup/cygwin/ChangeLog')
-rw-r--r--winsup/cygwin/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3dc1ecbf6..eedd83467 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,17 @@
+2012-07-25 Corinna Vinschen <corinna@vinschen.de>
+
+ * 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.
+
2012-07-24 Corinna Vinschen <corinna@vinschen.de>
* wincap.cc (wincapc::init): Drop memset call since it can result in