src/winsup/cygwin ChangeLog syscalls.cc

corinna@cygwin.com corinna@cygwin.com
Mon Nov 7 10:03:00 GMT 2011


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



More information about the Cygwin-cvs mailing list