projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67ba186
)
Tune some debug info
author
Klaus Ethgen
<Klaus@Ethgen.de>
Thu, 25 Feb 2016 15:46:32 +0000
(16:46 +0100)
committer
Klaus Ethgen
<Klaus@Ethgen.de>
Thu, 25 Feb 2016 15:46:32 +0000
(16:46 +0100)
src/collect-io.c
patch
|
blob
|
history
diff --git
a/src/collect-io.c
b/src/collect-io.c
index
7859bfd
..
aab9c52
100644
(file)
--- a/
src/collect-io.c
+++ b/
src/collect-io.c
@@
-91,11
+91,12
@@
static gboolean collection_load_private(CollectionData *cd, const gchar *path, C
if (!path) path = cd->path;
if (!path) path = cd->path;
+ pathl = path_from_utf8(path);
+
DEBUG_1("collection load: append=%d flush=%d only_geometry=%d path=%s",
DEBUG_1("collection load: append=%d flush=%d only_geometry=%d path=%s",
- append, flush, only_geometry, path);
+ append, flush, only_geometry, path
l
);
/* load it */
/* load it */
- pathl = path_from_utf8(path);
f = fopen(pathl, "r");
g_free(pathl);
if (!f)
f = fopen(pathl, "r");
g_free(pathl);
if (!f)
@@
-148,6
+149,7
@@
static gboolean collection_load_private(CollectionData *cd, const gchar *path, C
if (only_geometry) continue;
/* Read filenames */
if (only_geometry) continue;
/* Read filenames */
+ /* TODO: This is not safe! */
while (*p && *p != '"') p++;
if (*p) p++;
buf = p;
while (*p && *p != '"') p++;
if (*p) p++;
buf = p;