diff options
author | Werner Koch <[email protected]> | 2017-03-08 16:23:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-03-08 16:25:27 +0000 |
commit | 5c83759364272b19ceafbef46d057f0430a12698 (patch) | |
tree | 1e9bfbb91b6d61d27ce86737e51c0318e4ea6329 /g10/card-util.c | |
parent | build: Use macOS' compatibility macros to enable all features. (diff) | |
download | gnupg-5c83759364272b19ceafbef46d057f0430a12698.tar.gz gnupg-5c83759364272b19ceafbef46d057f0430a12698.zip |
wks: Put stdout into binary mode for Windows.
* tools/send-mail.c (send_mail_to_file): Call es_set_binary.
--
Without that, output to stdout via --send is mangled: The "\r\n" is
translated to "\r\r\n" which is bad because other
software (e.g. Thunderbird) translates this again to "\n\n" and thus
put all mail header liens after the first into the body.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/card-util.c')
0 files changed, 0 insertions, 0 deletions