delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <779F20BCCE5AD31186A50008C75D9979171747@silldn_mail1.sanwaint.com> |
From: | "Fifer, Eric" <EFifer AT sanwaint DOT com> |
To: | "'cygwin'" <cygwin AT sources DOT redhat DOT com> |
Subject: | RE: Have rename() semantics changed? |
Date: | Thu, 13 Jul 2000 17:15:06 +0100 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
Stewart Greenhill wrote: > The latest cygwin seems not to allow open files to be renamed. This > works under Unix. It is not normally allowed under Windows, but worked > in previous versions of the cygwin environment. > > Is this an official change, or could it be a bug? I compared strace's on b20.1 and 1.1.2 and the shared argument to CreateFileA has changed. FILE_SHARE_DELETE was dropped from host_dependent.shared in dcrt0.cc (host_dependent_constants::init). This was the comment at the time: Sat Mar 18 01:32:04 2000 Christopher Faylor <cgf AT cygnus DOT com> * dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from shared constant. I put it back and your test program works again. Perhaps Chris can shed some light on the reason for the change. Regards, Eric Fifer -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |