Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 6 Aug 2004 10:06:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.5.5.1 unlink() unable to remove an open file. Message-ID: <20040806080615.GC31522@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On Aug 6 13:59, Ghanshyam wrote: > > hi all, > > I am having a problem with unlink() system call. If the file is > currently open by some other process then unlink() is unable to delete > that file ( shown in 'ls' to that directory) but returns successfull! But > after all filedescriptors open to that file are closed, the file is > removed. > But in linux, the 'file' is removed immediately after unlink() > call, irrespective of how many other open filedescriptors are there for > the 'file'. > Is there any specific reason for such a behaviour by cygwin??? Welcome in the wonderful world of Windows. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/