From b1dd4301ed1f70051af83fa02965070be39d312d Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Thu, 25 May 2017 21:17:08 +0100 Subject: [PATCH] Fix #486: Build error https://github.com/BestImageViewer/geeqie/issues/486 Bug solution from Guillaume Castagnino --- src/misc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index 0f74402b..f0817c14 100644 --- a/src/misc.c +++ b/src/misc.c @@ -147,7 +147,11 @@ gchar *decode_geo_parameters(const gchar *input_text) } else { - fgets(buf, BUFSIZE, fp); + while (fgets(buf, BUFSIZE, fp)) + { + DEBUG_1("Output: %s", buf); + } + message = g_strconcat(buf, NULL); if(pclose(fp)) -- 2.20.1