Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <396DD038.248A100A@cygnus.com> Date: Thu, 13 Jul 2000 16:20:40 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Stewart Greenhill CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Have rename() semantics changed? References: <396D3E12 DOT FB3AFA79 AT murdoch DOT edu DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stewart Greenhill wrote: > > Hi, > > 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 have backtracked the sources 'til June 1999 and I couldn't find _any_ code in rename() which would allow that explicitly. AFAIK, the only special case is unlink() which tries to delete files later if they are currently locked to simulate U*X behaviour. Corinna -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com