[libgtop/wip/libgtop-ng] Increased buffersize to be able to hold larger cpuinfo files (bgo #681632)



commit af7e9cd1b64fea2fff360dcd8b32cf42a197d228
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Aug 22 01:48:12 2013 +0300

    Increased buffersize to be able to hold larger cpuinfo files (bgo #681632)

 sysdeps/linux/sysinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sysdeps/linux/sysinfo.c b/sysdeps/linux/sysinfo.c
index 9c82b7f..01821aa 100644
--- a/sysdeps/linux/sysinfo.c
+++ b/sysdeps/linux/sysinfo.c
@@ -36,7 +36,7 @@ static glibtop_sysinfo sysinfo = { .flags = 0 };
 static void
 init_sysinfo (glibtop *server)
 {
-       char buffer [16384];
+       char buffer [65536];
        gchar ** processors;
 
        if(G_LIKELY(sysinfo.flags)) return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]