From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54038 invoked by alias); 12 Jan 2017 15:30:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 54027 invoked by uid 89); 12 Jan 2017 15:30:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=informative, Hx-languages-length:600, respond X-HELO: USA7109MR002.ACS-INC.COM Received: from usa7109mr002.acs-inc.com (HELO USA7109MR002.ACS-INC.COM) (13.28.230.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jan 2017 15:30:16 +0000 Received: from usa7109ht001.na.xerox.net ([13.41.230.31]) by USA7109MR002.ACS-INC.COM with ESMTP/TLS/AES128-SHA256; 12 Jan 2017 09:30:13 -0600 Received: from USA7109MB022.na.xerox.net ([169.254.6.129]) by USA7109HT001.na.xerox.net ([13.41.230.31]) with mapi id 14.03.0294.000; Thu, 12 Jan 2017 09:30:13 -0600 From: "Nellis, Kenneth (Conduent)" To: "cygwin@cygwin.com" Subject: RE: rename() cannot replace the file which is opened with writable access Date: Thu, 12 Jan 2017 15:30:00 -0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BBD9592@USA7109MB022.na.xerox.net> References: <20170112.234135.194683198576068158.trueroad@trueroad.jp> In-Reply-To: <20170112.234135.194683198576068158.trueroad@trueroad.jp> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2017-01/txt/msg00121.txt.bz2 From: Masamichi Hosoda > If I understand correctly, > POSIX behavior should be able to replace the writable opened file by > rename(). > But, It does not work on my Cygwin environment. >=20 > Is it no problem if Cygwin's behavior is different from POSIX behavior? > If so, we need different application handling for Cygwin and POSIX. I thought it would be informative to respond by referring the OP to a section of the Cygwin User's Guide or FAQ that mentioned the limitations of Cygwin, but I could not find it. --Ken Nellis -- 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