collect(): *reduce* overhead, take care for errors..
commit6e982e40b5472380ed4f791f6a31311a087f0e53
authorSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Tue, 9 Oct 2012 17:44:06 +0000 (9 19:44 +0200)
committerSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Tue, 9 Oct 2012 17:44:06 +0000 (9 19:44 +0200)
tree8a53ece6f74c8fcf5fd22e7c21ed6a72ae0d6c83
parent815ad97e6dc219b08cb664ca590f1615df0fb39d
collect(): *reduce* overhead, take care for errors..

This function did yet not take care for output errors, practically
speaking.  Change this, quick.

Also try to reduce overhead by not going all the expensive way
through the MIME layers for the output file that collects the
result AND standard output IN ADDITION, but try to reuse the
output that has been produced for the former instead.
This is work in progress and can be improved, but at least
we enter the very expensive MIME stuff for the headers once
only already (very basically speaking).
collect.c