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: 7 Nov 2011 10:03:31 -0000
- Subject: src/winsup/cygwin ChangeLog syscalls.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2011-11-07 10:03:31
Modified files:
winsup/cygwin : ChangeLog syscalls.cc
Log message:
* syscalls.cc (check_dir_not_empty): Check surplus directory entries
by calling NtQueryAttributesFile. Make STATUS_DIRECTORY_NOT_EMPTY
return value dependent on its status code. Add long comment to explain.
(unlink_nt): Add comment to explain flaw in checking the sharing mode.
Set status to STATUS_SUCCESS instead of 0. Add a retry loop to setting
the delete disposition and trying to move a directory to bin to
workaround rare cases of lingering, already deleted subdirectory
entries. Add long comment to explain.
(rename): Set status to STATUS_SUCCESS instead of 0.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5548&r2=1.5549
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.598&r2=1.599