if (!path) path = cd->path;
+ pathl = path_from_utf8(path);
+
DEBUG_1("collection load: append=%d flush=%d only_geometry=%d path=%s",
- append, flush, only_geometry, path);
+ append, flush, only_geometry, pathl);
/* load it */
- pathl = path_from_utf8(path);
f = fopen(pathl, "r");
g_free(pathl);
if (!f)
if (only_geometry) continue;
/* Read filenames */
+ /* TODO: This is not safe! */
while (*p && *p != '"') p++;
if (*p) p++;
buf = p;