bug no.2902374 fixed
This commit is contained in:
parent
514c8e8573
commit
6d13becdb7
|
|
@ -1,3 +1,6 @@
|
|||
2009-11-24 Holger Vogt
|
||||
* com_sysinfo.c: bugfix no. 2902374
|
||||
|
||||
2009-11-21 Holger Vogt
|
||||
* spicelib/parser/inptree.c: memory allocation of struct pwldata->vals
|
||||
failed in MS Visual Studio 2008, changed.
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ TesError tesCreateSystemInfo(TesSystemInfo *info) {
|
|||
while((strPtr = strstr(strPtr, matchStrProc)) != NULL) {
|
||||
// numProcs++;
|
||||
strPtr += strlen(matchStrProc);
|
||||
if isblank(*strPtr) numProcs++;
|
||||
if (isblank(*strPtr)) numProcs++;
|
||||
}
|
||||
info->numLogicalProcessors = numProcs;
|
||||
physIDs = malloc(numProcs * sizeof(tInt));
|
||||
|
|
|
|||
Loading…
Reference in New Issue