[SA-exim] smtp_printf() and smtp_fflush()

Marc MERLIN marc at merlins.org
Sun Apr 22 20:44:21 PDT 2007


On Sun, Apr 22, 2007 at 03:01:15PM +0200, Magnus Holmgren wrote:
> The comment to the teergrube code states that "we can't use exim's smtp_printf 
> because it doesn't return an error code if the write gets an EPIPE". Wasn't 
> smtp_fflush() available at the time or doesn't it work the way we want? I 
> note that the old local_scan.h in eximinc/ doesn't declare smtp_printf() 
> either, but both declares are present in the initial revision in Exim's CVS 
> (which doesn't go back too far).

Either smtp_fflush wasn't there, or I somehow missed it.

Either way, if you get smtp_fflush to do the right thing wrt to EPIPE and
the return code, I'm all for switching to it.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.merlins.org/archives/sa-exim/attachments/20070422/dbb532fa/attachment.pgp 


More information about the SA-Exim mailing list