public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rename() cannot replace the file which is opened with writable access
Date: Sat, 14 Jan 2017 15:38:00 -0000	[thread overview]
Message-ID: <20170114153812.GC9762@calimero.vinschen.de> (raw)
In-Reply-To: <20170114.130036.2184521703569361487.trueroad@trueroad.jp>

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

On Jan 14 13:00, Masamichi Hosoda wrote:
> >> I've found that rename() cannot replace the file
> >> which is opened with writable access on Cygwin.
> >> On Linux, it works.
> >> 
> >> If I understand correctly, it should work under POSIX.
> >> 
> >> Here's sample code for reproduce.
> > 
> > Thanks for the testcase.  I applied a patch(*) and will upload a new
> > developer snapshot for testing to https://cygwin.com/snapshots/
> > at some point tomorrow.
> > 
> > 
> > Corinna
> > 
> > (*) https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=6ed4753
> 
> The snapshot has been fixed the issue.
> Thank you.

Thanks for your feedback!


Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2017-01-14 15:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-12  0:07 Masamichi Hosoda
2017-01-12  5:50 ` Andrey Repin
2017-01-12 14:41   ` Masamichi Hosoda
2017-01-12 15:30     ` Nellis, Kenneth (Conduent)
2017-01-12 15:36       ` Corinna Vinschen
2017-01-12 16:38         ` cyg Simple
2017-01-12 19:06 ` L. A. Walsh
2017-01-12 21:49 ` Corinna Vinschen
2017-01-14  4:00   ` Masamichi Hosoda
2017-01-14 15:38     ` Corinna Vinschen [this message]

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=20170114153812.GC9762@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).