[gimp/gimp-2-8] tools: increase buffer size in gimptool from 1000 to 4096 (cherry picked from commit fd34fee7f5e0a1b
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] tools: increase buffer size in gimptool from 1000 to 4096 (cherry picked from commit fd34fee7f5e0a1b
- Date: Wed, 27 Mar 2013 21:59:28 +0000 (UTC)
commit 234e269bc7cd7882ceddfa66b6caa05aac0d9c4a
Author: Michael Natterer <mitch gimp org>
Date: Wed Mar 27 22:56:01 2013 +0100
tools: increase buffer size in gimptool from 1000 to 4096
(cherry picked from commit fd34fee7f5e0a1b0c56d70fd049707fe67ed65f9)
tools/gimptool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/gimptool.c b/tools/gimptool.c
index cb50031..4a7bac4 100644
--- a/tools/gimptool.c
+++ b/tools/gimptool.c
@@ -127,7 +127,7 @@ one_line_output (const gchar *program,
{
gchar *command = g_strconcat (program, " ", args, NULL);
FILE *pipe = popen (command, "r");
- gchar line[1000];
+ gchar line[4096];
if (pipe == NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]