Re: UNLINK problem (again!!)

2009-03-20 Thread Spiro Trikaliotis
Hello, * On Fri, Mar 20, 2009 at 06:45:12PM + Dave Korn wrote: > This is Cygwin correctly implementing the POSIX "can delete a file while > retaining a handle to its contents" semantic, followed by the known Cygwin > problem (a restiction of the underlying windows OS) that you can't (as yo

Re: UNLINK problem (again!!)

2009-03-20 Thread Dave Korn
Martine Carannante wrote: > $ ./testop > Create file > unlink file > Create Again the file > Error Create: : Permission denied >printf("Create file\n"); >if((fp=fopen("toto","a+"))==NULL) { >perror("Error Create: "); >exit(255); >} >

Re: UNLINK problem (again!!)

2009-03-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Martine Carannante on 3/20/2009 10:06 AM: > Hi > > I kow that several persons have sent a mail concerning this problem, but > unfortunately I don't see a clear solution in the mailing list. > It seems to me very strange because this kind

UNLINK problem (again!!)

2009-03-20 Thread Martine Carannante
Hi I kow that several persons have sent a mail concerning this problem, but unfortunately I don't see a clear solution in the mailing list. It seems to me very strange because this kind of code happens very often . My problem is that we can't recreate a file immediately after an unlink() of