From: Colin Clark Date: Thu, 25 May 2017 20:17:08 +0000 (+0100) Subject: Fix #486: Build error X-Git-Tag: v1.4~174 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=b1dd4301ed1f70051af83fa02965070be39d312d Fix #486: Build error https://github.com/BestImageViewer/geeqie/issues/486 Bug solution from Guillaume Castagnino --- 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))