[Commits] [SCM] claws branch, master, updated. 3.9.2-127-gdc2158a

mones at claws-mail.org mones at claws-mail.org
Thu Dec 5 11:02:58 CET 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  dc2158a308abd87c9ca243e9097d2e202e8514cb (commit)
      from  839e5d98beef6f722d719ff976ec17b39ff40f6e (commit)


- Log -----------------------------------------------------------------
commit dc2158a308abd87c9ca243e9097d2e202e8514cb
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Dec 5 11:00:29 2013 +0100

    Fix bug #3009 ‘"Rebuild folder tree" causes SIGSEGV if a directory name isn't valid utf-8’
    
    Based on initial patch submitted by Fabian Keil <fk at fabiankeil.de>

diff --git a/src/folder.c b/src/folder.c
index 93d7479..b9a3dc3 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -346,7 +346,7 @@ FolderItem *folder_item_new(Folder *folder, const gchar *name, const gchar *path
 	cm_return_val_if_fail(item != NULL, NULL);
 
 	item->stype = F_NORMAL;
-	item->name = g_strdup(name);
+	item->name = conv_filename_to_utf8(name);
 	item->path = g_strdup(path);
 	item->mtime = 0;
 	item->new_msgs = 0;

-----------------------------------------------------------------------

Summary of changes:
 src/folder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list