After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786430 - default newline settings for gmimeformatoptions are not respected when writing headers
default newline settings for gmimeformatoptions are not respected when writin...
Status: RESOLVED FIXED
Product: gmime
Classification: Other
Component: general
3.0.x
Other All
: Normal major
: ---
Assigned To: Jeffrey Stedfast
Jeffrey Stedfast
Depends on:
Blocks:
 
 
Reported: 2017-08-17 15:47 UTC by Kane Kim
Modified: 2017-08-17 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kane Kim 2017-08-17 15:47:50 UTC
When changing default format options:
g_mime_format_options_set_newline_format(g_mime_format_options_get_default(), GMIME_NEWLINE_FORMAT_DOS)

and writing message to stream, headers get written with some mixed newlines, some headers get \r\n line endings, others get \n.
Comment 1 Jeffrey Stedfast 2017-08-17 15:52:38 UTC
Fixed in git master