X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=evHU8CKEpnHo615abFbdBNtTkHIDMBWphE3/WqU2z9itVJTVL5OQZ
	qXpAyWQcXk24hzzi7+Mw7gwBD+0krthTc9h9gVXTNlVxvpZDRF+uaFaRlrbq79ga
	Ty/0kkQYZ94ZmoIBwNKG9p0RJHY/JVjwJIWdaRaO0Bg4QlP8CQu7ms=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=v1aCkeY2ET4IjLCH1nu65vUnYQk=; b=kMxZpJTBfh0H7S7FzEqbcpvkeGnV
	Hhj+/TfB+y8mslQiz25Nl6tysGhJp89CVmUfj/Al4/NhF7BYjSd5SuutbprAV6oL
	UZNaODaC2qSfcVIfGTTPQdO8v40mhZaTCZKUWko/zbADE5NjhrlN194z282Mhj2j
	wTenMJfE6GdjsTY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com
X-HELO: drew.franken.de
Date: Sat, 14 Jan 2017 16:38:12 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rename() cannot replace the file which is opened with writable access
Message-ID: <20170114153812.GC9762@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20170112.090746.2056666314950620331.trueroad@trueroad.jp> <20170112214929.GD23119@calimero.vinschen.de> <20170114.130036.2184521703569361487.trueroad@trueroad.jp>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ"
Content-Disposition: inline
In-Reply-To: <20170114.130036.2184521703569361487.trueroad@trueroad.jp>
User-Agent: Mutt/1.7.1 (2016-10-04)

--uXxzq0nDebZQVNAZ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> >>=20
> >> If I understand correctly, it should work under POSIX.
> >>=20
> >> Here's sample code for reproduce.
> >=20
> > 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.
> >=20
> >=20
> > Corinna
> >=20
> > (*) https://sourceware.org/git/?p=3Dnewlib-cygwin.git;a=3Dcommitdiff;h=
=3D6ed4753
>=20
> The snapshot has been fixed the issue.
> Thank you.

Thanks for your feedback!


Corinna

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

--uXxzq0nDebZQVNAZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYekXkAAoJEPU2Bp2uRE+gvZYP/25lc6xi7K/sL5W44/WO7kis
eKk2nMtupPB0XViWPVCC5UFeJqzOaCiALc0Cu1qgX3nVb4FZeE9ymJ7wu2+Qwh6+
ZTCFlRkywisPr90YqyLBgvblS7PUjK58cmWc9ken+okvFvw+06vpYDYy3LGp7dA1
oDx/wkRw6lKpQbse+ft5FKx6ZQF+lBPPkFpm0t59OC1hohpItaaeJzRZbfT652Qh
FjUWMK8XbpgFnQsl7U1FlTYEvnmG65fs7gLT3P5d703qA1AtWULrRT7XJxJSE3tA
KPQn6gMkCtuao6p+MLndSi0DHWhU6/qKNvlZ6BJA/Zps3w17NuYinW7pT0RAXRUI
ebPoiaWcdtD6MkdYT5rqDkC+ZFFZF+oMi/pdUet3aQ2AcB+rRjzW3DZf4yyeZjoN
Hls6KUfMwXb10AAdaqf8eg5GZZYPC3p8w0xX8/R1N27imBRP7yqmG4BngpFhq+Tl
ip/fwor+CHPyDcROaCiNtKBfCs3QIk3qnacoX7aZKOLiwderq7Sw3eLgv6995nVx
vUq2Ye7YtS8IamReRVPPKLqoDngk3XvWgioge1jwkkwMCqwBSDPF3YTZq08NFa6K
Z140tRCFk7Jy2rVFIsIT+EzpjoBMKPChxGPDf7HM5NJv+azlqzuoQdxdh6NQlCM9
h9NYAnkbEd3cEn+SrDGL
=vFD8
-----END PGP SIGNATURE-----

--uXxzq0nDebZQVNAZ--
