Re: File buffering

2007-01-18 Thread Robert Shearman
Teemu Ikonen wrote: On 1/18/07, Damjan Jovanovic <[EMAIL PROTECTED]> wrote: On 1/17/07, Teemu Ikonen <[EMAIL PROTECTED]> wrote: If you don't wait for the forked process to finish before deleting the file, then you have a bug called a race condition which apparently manifests in wine and not in W

Re: File buffering

2007-01-18 Thread Teemu Ikonen
On 1/18/07, Damjan Jovanovic <[EMAIL PROTECTED]> wrote: On 1/17/07, Teemu Ikonen <[EMAIL PROTECTED]> wrote: If you don't wait for the forked process to finish before deleting the file, then you have a bug called a race condition which apparently manifests in wine and not in Windows: you're relyin

Re: File buffering

2007-01-17 Thread Damjan Jovanovic
On 1/17/07, Teemu Ikonen <[EMAIL PROTECTED]> wrote: Hi, I have a Visual Fortran application which exhibits problems related to concurrency and file buffer flushing when run under wine (it works under all versions of windows). The program does essentially this: opens a file writes to it closes

File buffering

2007-01-17 Thread Teemu Ikonen
Hi, I have a Visual Fortran application which exhibits problems related to concurrency and file buffer flushing when run under wine (it works under all versions of windows). The program does essentially this: opens a file writes to it closes it forks another program to read the file just writte