mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Fix bug with writing of configuration files under Cygwin
This commit is contained in:
@@ -1918,7 +1918,7 @@ config_file_write_internal (struct t_config_file *config_file,
|
||||
(default_options) ? _("(default options)") : "");
|
||||
|
||||
/* open temp file in write mode */
|
||||
config_file->file = fopen (filename2, "w");
|
||||
config_file->file = fopen (filename2, "wb");
|
||||
if (!config_file->file)
|
||||
{
|
||||
gui_chat_printf (NULL,
|
||||
|
||||
Reference in New Issue
Block a user