[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Dazuko-devel] No bugs, but a blocking close patch
From: |
Tikka, Sami |
Subject: |
RE: [Dazuko-devel] No bugs, but a blocking close patch |
Date: |
Sun, 3 Sep 2006 14:07:04 +0300 |
>-----Original Message-----
>From: John Ogness [mailto:address@hidden
>Older versions of Dazuko used to do it this way. With 2.1.0 it
>was changed because there is a problem with the data not being
>flushed to the file before the close(). If you make a test
>registered program that outputs the contents it "sees", you
>will notice that (with this patch) for ON_CLOSE events it
>doesn't see the bytes most recently written to a file before closing.
Do you know the reason for the data not being completely flushed? I buy your
explanation, I'm just curious for the reason.
It would seem logical that the flush has already occurred when
original_sys_close returns.
Hmm... I think this might explain some spurious failures in our automated
tests...
-- Sami