Sun, 08 Oct 2017 20:31:38 +0300
Some fixes
| libpurple/core.h | file | annotate | diff | comparison | revisions | |
| libpurple/util.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/core.h Fri Jun 30 17:31:16 2017 +0300 +++ b/libpurple/core.h Sun Oct 08 20:31:38 2017 +0300 @@ -232,7 +232,7 @@ * Migrates from legacy directory for libpurple to location following * XDG base dir spec. https://developer.pidgin.im/ticket/10029 * NOTE This is not finished yet. Need to decide where other profile files - * should be moved. + * should be moved. Search for usages of purple_user_dir(). * * Returns: TRUE if migrated successfully, FALSE otherwise. On failure, * the application must display an error to the user and then exit.
--- a/libpurple/util.c Fri Jun 30 17:31:16 2017 +0300 +++ b/libpurple/util.c Sun Oct 08 20:31:38 2017 +0300 @@ -3050,7 +3050,7 @@ } } - filename_full = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", dir, filename); + filename_full = g_build_filename(dir, filename, NULL); ret = purple_util_write_data_to_file_absolute(filename_full, data, size);