This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New rename(2) function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]