Changeset c510a7 for pcp/src/helpers.c
- Timestamp:
- Apr 29, 2008, 12:19:51 PM (17 years ago)
- Children:
- e936b3
- Parents:
- 307fd1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcp/src/helpers.c
r307fd1 rc510a7 92 92 void* Malloci(size_t size, const char* output, int i) 93 93 { 94 char dummyoutput[MAX DUMMYSTRING];94 char dummyoutput[MAXSTRINGSIZE]; 95 95 void* dummy = (void *) malloc(size); 96 96 if (!dummy) { … … 110 110 void* Mallocii(size_t size, const char* output, int i, int j) 111 111 { 112 char dummyoutput[MAX DUMMYSTRING];112 char dummyoutput[MAXSTRINGSIZE]; 113 113 void* dummy = (void *) malloc(size); 114 114 if (!dummy) { … … 142 142 void* Realloci(void* pointer, size_t size, const char* output, int i) 143 143 { 144 char dummyoutput[MAX DUMMYSTRING];144 char dummyoutput[MAXSTRINGSIZE]; 145 145 void *dummy = (void *) realloc(pointer, size); 146 146 if (!dummy) { … … 161 161 void* Reallocii(void* pointer, size_t size, const char* output, int i, int j) 162 162 { 163 char dummyoutput[MAX DUMMYSTRING];163 char dummyoutput[MAXSTRINGSIZE]; 164 164 void *dummy = (void *) realloc(pointer, size); 165 165 if (!dummy) { … … 234 234 int info; 235 235 char processor_name[MPI_MAX_PROCESSOR_NAME]; 236 char dummy[MAX DUMMYSTRING];236 char dummy[MAXSTRINGSIZE]; 237 237 P->Par.procs = P->Par.proc[PEPsi]*P->Par.proc[PEGamma]; 238 238 P->Par.me = -1; /* eigene Position noch unklar */
Note:
See TracChangeset
for help on using the changeset viewer.