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)


Corinna Vinschen wrote:
> 
> BTW, I have a naive question related to unlink. I had just another
> look into SUSv2 and to my surprise it defines the following error
> code:
> 
> [EBUSY]    The file named by the path argument cannot be unlinked
>            because it is being used by the system or another process
>            and the implementation considers this an error.
> 
> which basically means, if we try to unlink a file and that fails,
> we wouldn't have to force it by ugly tricks (delqueue) but just
> return EBUSY and Cygwin would still be SUSv2 compliant.
> 
> All: Would that be ok to change or would you like to keep the current
>      behaviour?
> 

I vote for EBUSY.  The delqueue has the potential to be more harmful
than good.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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