From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [1.7] rename/renameat error
Date: Mon, 07 Sep 2009 19:21:00 -0000 [thread overview]
Message-ID: <20090907192046.GA12492@calimero.vinschen.de> (raw)
In-Reply-To: <4AA52B5E.8060509@byu.net>
On Sep 7 09:48, Eric Blake wrote:
> POSIX states that rename must fail with EINVAL if either argument ends in
> '.' or '..' (after trailing slashes are stripped). Cygwin 1.7 is
> detecting this situation (which is a step up from 1.5 which did the rename
> anyways), but sets errno to EBUSY instead of EINVAL.
Thanks for catching. Feel free to fix the rename function accordingly.
This falls definitely under the trivial patch rule.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2009-09-07 19:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-07 15:48 Eric Blake
2009-09-07 19:21 ` Corinna Vinschen [this message]
2009-09-08 22:56 ` Eric Blake
2009-09-09 16:37 ` Eric Blake
2009-09-09 17:43 ` Christopher Faylor
2009-09-21 10:46 ` Corinna Vinschen
2009-09-22 21:02 ` Eric Blake
2009-09-23 9:22 ` Corinna Vinschen
2009-09-23 14:01 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090907192046.GA12492@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).