-
Committer:
James Westby
-
Date:
2007-02-26 21:48:05 UTC
-
mto:
(2304.1.1 jam-integration)
-
mto:
This revision was merged to the branch mainline in
revision
2305.
-
Revision ID:
jw+debian@jameswestby.net-20070226214805-umfrbzkqnvvrna64
Make the handling of the msgfile more sane.
  * Close it in a finally block for more safety.
  * Open it at the start and just write to it instead of building up the
    message.
  * Don't close the fileno from mkstemp, just convert it to a filehandle
    straight away.