This is the mail archive of the cygwin-patches@cygwin.com 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]

Re: unlink() patch (was Cygwin CVS breaks PostgreSQL drop table)


On Wed, Jul 18, 2001 at 09:02:11AM -0400, Jason Tishler wrote:
> Corrina,

:s/rrin/rinn

> On Wed, Jul 18, 2001 at 09:34:19PM +0900, Kazuhiro Fujieda wrote:
> > >>> On Wed, 18 Jul 2001 13:01:54 +0200
> > >>> Corinna Vinschen <cygwin-patches@cygwin.com> said:
> > 
> > > All: Would that be ok to change or would you like to keep the current
> > >      behaviour?
> > 
> > I'd like to keep the current behaviour.  I know some UNIX
> > applications unlink temporary files just after open to ensure
> > that their disk space are reclimed when the processes terminate.
> 
> I would like to keep the current behavior too.
> 
> On Wed, Jul 18, 2001 at 02:44:33PM +0200, Corinna Vinschen wrote:
> > Is anybody aware of an application which would really miserably
> > fail if unlink() returns EBUSY? Besides `rm' of course ;-)
> 
> I just grep-ed through the PostgreSQL source for unlink().  Although,
> there are only six places where the source actually checks the return
> value from unlink(), I believe that returning EBUSY would confuse
> PostgreSQL.
> 
> I'm sure that there are many other Unix apps that would have similar
> problems and would need to be patched for Cygwin, if the unlink()
> behavior is changed as you suggest.

That's the reason I asked. It wasn't a suggestion but an RFD.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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