| delorie.com/archives/browse.cgi | search |
| 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=eeM/KulMhvawHMqvJ20/lDTV5DISobZjfhgaGg/GsrjpM/qXRLLNA | |
| W6t/2SuJk0SQddVQY7m0chMEvFAMZVfTpamXyigpN1RMn+0eGaEg4sEiPR6sCHpu | |
| pPnjN1dUSa4vowDkPvDpzuJsjcCuDM7QVYfHGR07FLh0+S1qiJ1ZyY= | |
| 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=J2YjClUtBP0/ds/aZB5WKEiu/bI=; b=Ou3aB9s+VPhYgNWh3YZwBfVF96lx | |
| 2kEKymQjGICrl9EpmyaopIkJuxycs8uIHyQ3P9CH7D3sxQb2elNHTkGGuaLfB3Ep | |
| 20M94VivHHLssDxnztYR0MKHIjHAFFYJp4pGZk6NdSztAJQqlDtPIg1xuG7gFBjD | |
| 2thQjVm6vl2OxNw= | |
| 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=commitdiff, H*F:D*cygwin.com |
| X-HELO: | drew.franken.de |
| Date: | Thu, 12 Jan 2017 22:49:29 +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: | <20170112214929.GD23119@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> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20170112.090746.2056666314950620331.trueroad@trueroad.jp> |
| User-Agent: | Mutt/1.7.1 (2016-10-04) |
--GyRA7555PLgSTuth Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 12 09:07, Masamichi Hosoda wrote: > Hello, >=20 > 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. 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=3Dnewlib-cygwin.git;a=3Dcommitdiff;h=3D6e= d4753 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --GyRA7555PLgSTuth Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYd/npAAoJEPU2Bp2uRE+gRyoP+QGzfMPV1tMX5Ns7zinxi1ax WT/PtfBUZUJtl11OcdjCEvfV2aSYpkQubfdDPxQBkN42sJPuJzLRrqfkptYSRlbT 5nZYt9ppCkkzQ6iKOgkfQaU0lJbHB5IBvLxHyV+2/V02N6g57zgNKFnlM7xXO2Ud ClR5u1AdgDt8cmtOEHzF5oFZZ4rLuclIo41dlL4sIaLfNnWCl09vRx72ldHaotMB im6HksWhxhN9LoCdTgwDcm04HgKz524YFI7KcW6EtBkGBv8Tij98xr/DHQoJ3yYU PEh9QY7FSrBtB3WI57tNC80BCRFzR0Jc74LWLeT2a/GuwOUu428BjdWLXjloSj47 dTnMhKljDzcpGZAx4OiR4ttcFlkHLJyz78RkiUgNp7PGWgcll0u+EGRzlgJ0XpRl 4Io6FGWhcD3YqueZx/hOToso7ErRVwIIhrQs6sThCBbA43kYWfmebbH8/cG7xbSN 9rUOI2t3dyZ/kTnomJrrD1XNi7XFgjyi9J9u74pEqEpjIganC2n7L+uXyJZo68+1 5b7Vg/vm8gwqP5WU7TJIQuzNzJwtAZFbE+7JZ7miPXxbMpk3/MTjyRS0vkelJT2C Gi7ZqZZFRTtNcV9yLbVVM369L3HeSNuPeSF8U16oxkMipVsOUSg18xCelt+11yFQ ryJZJ9sz89bUMXojdohs =6959 -----END PGP SIGNATURE----- --GyRA7555PLgSTuth--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |