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:message-id:to:subject:from:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
q=dns; s=default; b=ZX0co6CQCy9/JpAfvBVPI2InJdMYw8eAwTdhtZdlq2D | |
HVCv8XcXvuAXuqtWzkyOX+ymCoMIJ3cOPmY/5T8HHJxWXm7JeH1mveJ8aVDb1/N8 | |
E9X8+nRn5Nlf0GXyi1DxnVddhQRm5xGAX/wLtGENmFlpYQIyL8wZ5L6ilURgu2Ow | |
= | |
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:message-id:to:subject:from:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
s=default; bh=J4K/dfFn4LfiZDLp/t0kQumOFAc=; b=F+3WgRAW3IpwMydmV | |
cEjozGNZhuat9g2VHu9RJmWXTvbgp/AxjXggzwY2K0Tx+/vkwTbkHx4u+4qLKicj | |
y9G8KcMoeHg9EqOSxC8jnxP1uMT6uvOyiNJr5HCEUY6KuVxNwpy4tAdvoenN8vvJ | |
g89T2qaThNJePcJ1W62ZEEtreY= | |
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=-1.1 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=H*UA:6.0, H*x:version, H*UA:version |
X-HELO: | msa03b.plala.or.jp |
Date: | Sat, 14 Jan 2017 13:00:36 +0900 (JST) |
Message-Id: | <20170114.130036.2184521703569361487.trueroad@trueroad.jp> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: rename() cannot replace the file which is opened with writable access |
From: | Masamichi Hosoda <trueroad AT trueroad DOT jp> |
In-Reply-To: | <20170112214929.GD23119@calimero.vinschen.de> |
References: | <20170112 DOT 090746 DOT 2056666314950620331 DOT trueroad AT trueroad DOT jp> <20170112214929 DOT GD23119 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
X-VirusScan: | Outbound; msa03m; Sat, 14 Jan 2017 13:00:32 +0900 |
>> 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. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |