Revision: 2090 http://geany.svn.sourceforge.net/geany/?rev=2090&view=rev Author: eht16 Date: 2007-12-05 05:36:11 -0800 (Wed, 05 Dec 2007)
Log Message: ----------- Add "b" flag to fopen when saving files to avoid broken line ending characters on Windows (flag was removed by accident, closes #1844405).
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-12-04 15:44:45 UTC (rev 2089) +++ trunk/ChangeLog 2007-12-05 13:36:11 UTC (rev 2090) @@ -1,3 +1,10 @@ +2007-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/document.c: Add "b" flag to fopen when saving files to avoid + broken line ending characters on Windows + (flag was removed by accident, closes #1844405). + + 2007-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Modified: trunk/src/document.c =================================================================== --- trunk/src/document.c 2007-12-04 15:44:45 UTC (rev 2089) +++ trunk/src/document.c 2007-12-05 13:36:11 UTC (rev 2090) @@ -1271,7 +1271,7 @@ }
locale_filename = utils_get_locale_from_utf8(doc_list[idx].file_name); - fp = g_fopen(locale_filename, "w"); + fp = g_fopen(locale_filename, "wb"); g_free(locale_filename);
if (fp == NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.