[gimp] tools: increase buffer size in gimptool from 1000 to 4096



commit fd34fee7f5e0a1b0c56d70fd049707fe67ed65f9
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

 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]