After a bit of cleanup (thank you for choosing apr_file_seek, it made the append + xthread solution simple)... this patch should 'work'.
But the patch has the side effect of being incompatible with other applications attempting to append to the file [such as piped output or whatnot.] And it has a flaw if we are logging errors from the parent, the old race condition still remains. It gets much worse if we factor in the possibility of two child worker processes accessing the file at once. Thread locks are strictly intraprocess. Grump. Bill At 07:28 PM 10/28/2002, [EMAIL PROTECTED] wrote: >stoddard 2002/10/28 17:28:32 > > Modified: . CHANGES > file_io/win32 filedup.c open.c readwrite.c > Log: > Win32: Get APR_APPEND file i/o working correctly.
