This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog syscalls.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 25 Jul 2012 12:32:37 -0000
- Subject: src/winsup/cygwin ChangeLog syscalls.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2012-07-25 12:32:37
Modified files:
winsup/cygwin : ChangeLog syscalls.cc
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5921&r2=1.5922
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.637&r2=1.638