This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.5.1 unlink() unable to remove an open file.


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]