New rename(2) function

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 1 14:54:00 GMT 2007


On Aug  1 16:09, Corinna Vinschen wrote:
> Thanks a lot!  I will (try to) implement something to fix the above
> outlined problems.  Stay tuned.

I've applied a patch for all three problems (trailing . or ..,
oldpath on R/O FS, ENOTEMPTY for non-empty dir at newpath.

Fortunately, for real file systems, the NtSetInformationFile function
actually returns STATUS_MEDIA_WRITE_PROTECTED, which is automatically
translated to EROFS.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list