delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/06/04:06:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 6 Aug 2004 10:06:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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: <Pine DOT LNX DOT 4 DOT 10 DOT 10408061344030 DOT 17329-100000 AT denver DOT india DOT mentorg DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.10.10408061344030.17329-100000@denver.india.mentorg.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019