RE: No bugs, but a blocking close patch

"Tikka, Sami" <[email protected]> Sun, 3 Sep 2006 14:07:04 +0300
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
>-----Original Message-----
>From: John Ogness [mailto:[email protected]] 

>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