This patch fixes mutt so that it can now send binary attachments regardless
of mount mode. No work done on receiving yet. Tested with current Cygwin
ssmtp distro.
Changelog:
* lib.c (safe_fopen): Add support for binary mode specifier ("b").
* sendlib.c (mutt_write_mime_body): Open file to attach as binary prior to
encoding if it is not a text MIME type.
* configure.in (sig_atomic_t): Add brackets to sig_atomic_t test, it was
generating an invalid configure.
(binmode.o): Remove linkage to binmode.o to go back to default Cygwin file
mode behavior.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
mutt.diff