www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/14/10:38:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rename() cannot replace the file which is opened with writable access
Message-ID: <20170114153812.GC9762@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20170112 DOT 090746 DOT 2056666314950620331 DOT trueroad AT trueroad DOT jp> <20170112214929 DOT GD23119 AT calimero DOT vinschen DOT de> <20170114 DOT 130036 DOT 2184521703569361487 DOT trueroad AT trueroad DOT jp>
MIME-Version: 1.0
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019