Changeset 3181
- Timestamp:
- 12/16/07 10:20:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/startstop_lib.h
r3176 r3181 6 6 * Revision history: 7 7 * $Log$ 8 * Revision 1.9 2007/12/16 12:20:23 paulf 9 * added MAX_CLASSNAME_SIZE #define 10 * 8 11 * Revision 1.8 2007/12/15 20:12:39 paulf 9 12 * increased className array size for linux … … 108 111 109 112 #ifdef _WINNT 113 #define MAX_CLASSNAME_SIZE 9 110 114 typedef struct { 111 115 char commandLine[80]; 112 116 char progName[40]; 113 char priorityClass[ 9];117 char priorityClass[MAX_CLASSNAME_SIZE]; 114 118 char threadPriority[13]; 115 119 char display[17]; … … 122 126 #define P_MYID (-1) 123 127 #endif 128 #ifndef MAX_CLASSNAME_SIZE 129 #define MAX_CLASSNAME_SIZE 10 130 #endif 124 131 typedef struct { 125 132 char parm[MAXLINE]; … … 129 136 char *processName; 130 137 pid_t pid; 131 char className[ 10];138 char className[MAX_CLASSNAME_SIZE]; 132 139 int priority; 133 140 char use_uname[LOGNAME_MAX+1];
Note: See TracChangeset
for help on using the changeset viewer.