Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Sync operation failing with 'Unexpected reply " 200" from peer ...'

2004-06-16 by manu@netbsd.org

<attila.bruncsak@...> wrote:

> If a stream is open for update operation between read and write operation
> flush operation has to be executed.
> "man fdopen" on Tru64 UNIX says among others:
> 
>  "Also, an input operation cannot be directly followed by
>   an output operation without an intervening flush or file positioning
> opera-
>   tion, unless the input operation encounters the end of the file."

To sum up, we need to fflush after each time data is readen from the
file descriptor, that's it?

-- 
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.