@LarsGit223 commented on this pull request.


In workbench/src/utils.c:

> + * string with g_free().
+ *
+ * @param base     The absolute path.
+ * @param relative The relative path.
+ * @return Combined path or NULL if no memory is available
+ *
+ **/
+gchar *get_combined_path(const gchar *base, const gchar *relative)
+{
+	gchar *basedir, *basedir_end;
+	const gchar *start;
+	gchar *result;
+	guint length;
+	gint goback;
+
+	if (relative[0] != '.')

I re-factored the function. It is now handling all relative pathes and uses g_strconcat.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.