Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
xosview
xosview-1.14-maxlimit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xosview-1.14-maxlimit.patch of Package xosview
--- xosview.h +++ xosview.h 2012-02-01 09:14:07.000000000 +0000 @@ -7,6 +7,7 @@ #ifndef _XOSVIEW_H_ #define _XOSVIEW_H_ +#define BUFFER_SIZE 4096 #include "xwin.h" #include "Xrm.h" // For Xrm resource manager class. --- linux/cpumeter.cc +++ linux/cpumeter.cc 2013-04-09 08:54:53.617939403 +0000 @@ -23,7 +23,7 @@ static const char STATFILENAME[] = "/pro static const char VERSIONFILENAME[] = "/proc/sys/kernel/osrelease"; static int cputime_to_field[10] = { 0, 1, 2, 9, 5, 4, 3, 8, 6, 7 }; -#define MAX_PROCSTAT_LENGTH 4096 +#define MAX_PROCSTAT_LENGTH BUFFER_SIZE CPUMeter::CPUMeter(XOSView *parent, const char *cpuID) : FieldMeterGraph( parent, 10, toUpper(cpuID), "USR/NIC/SYS/SI/HI/WIO/GST/NGS/STL/IDLE" ) { --- linux/diskmeter.cc +++ linux/diskmeter.cc 2012-02-01 09:14:59.000000000 +0000 @@ -15,7 +15,7 @@ #include <errno.h> #include <limits.h> -#define MAX_PROCSTAT_LENGTH 2048 +#define MAX_PROCSTAT_LENGTH BUFFER_SIZE DiskMeter::DiskMeter( XOSView *parent, float max ) : FieldMeterGraph( --- linux/pagemeter.cc +++ linux/pagemeter.cc 2012-02-01 09:14:42.000000000 +0000 @@ -12,7 +12,7 @@ #include <sys/stat.h> #include <unistd.h> -#define MAX_PROCSTAT_LENGTH 2048 +#define MAX_PROCSTAT_LENGTH BUFFER_SIZE PageMeter::PageMeter( XOSView *parent, float max )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor