Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xosview
xosview-1.8.2-maxlimit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xosview-1.8.2-maxlimit.patch of Package xosview
--- xosview.h +++ xosview.h Fri Jan 28 16:34:26 2005 @@ -11,6 +11,7 @@ #define XOSVIEW_H_CVSID "$Id$" +#define BUFFER_SIZE 4096 #include "xwin.h" #include "Xrm.h" // For Xrm resource manager class. --- linux/cpumeter.cc +++ linux/cpumeter.cc Fri Jan 28 16:34:26 2005 @@ -16,7 +16,7 @@ #include <ctype.h> static const char STATFILENAME[] = "/proc/stat"; -#define MAX_PROCSTAT_LENGTH 4096 +#define MAX_PROCSTAT_LENGTH BUFFER_SIZE CPUMeter::CPUMeter(XOSView *parent, const char *cpuID) : FieldMeterGraph( parent, 4, toUpper(cpuID), "USR/NICE/SYS/FREE" ) { --- linux/diskmeter.cc +++ linux/diskmeter.cc Fri Jan 28 16:35:09 2005 @@ -14,7 +14,7 @@ #include <sys/stat.h> #include <unistd.h> -#define MAX_PROCSTAT_LENGTH 2048 +#define MAX_PROCSTAT_LENGTH BUFFER_SIZE DiskMeter::DiskMeter( XOSView *parent, float max ) : FieldMeterGraph( parent, 3, "DISK", "READ/WRITE/IDLE"), _vmstat(false), --- linux/pagemeter.cc +++ linux/pagemeter.cc Fri Jan 28 16:35:30 2005 @@ -14,7 +14,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