This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: New rename(2) function
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 1 Aug 2007 16:54:26 +0200
- Subject: Re: New rename(2) function
- References: <20070731155745.GE21952@calimero.vinschen.de> <46B082EF.1010102@byu.net> <20070801140956.GG13674@calimero.vinschen.de>
- Reply-to: cygwin-developers at cygwin dot com
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