src/winsup/cygwin ChangeLog syscalls.cc

corinna@cygwin.com corinna@cygwin.com
Fri Aug 10 11:16:00 GMT 2007


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2007-08-10 11:16:27

Modified files:
	winsup/cygwin  : ChangeLog syscalls.cc 

Log message:
	* syscalls.cc (rename): Check oldpath and newpath for trailing dir
	separators, require them to be existing directories if so.  Check
	for a request to change only the case of the filename.  Check paths
	for case insensitve equality only once.  Handle renaming a directory
	to another, existing directory by unlinking the destination directory
	first.  If newpath points to an existing file with R/O attribute set,
	try to unset R/O attribute first.  Augment hardlink test by not
	checking directories.  If renaming fails with STATUS_ACCESS_DENIED,
	try to unlink existing destination filename and try renaming again.
	Drop useless test for non-empty directory.  Always close fh at the
	end of the function.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3891&r2=1.3892
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.457&r2=1.458



More information about the Cygwin-cvs mailing list