Browse Source

bug no.2902374 fixed

pre-master-46
h_vogt 17 years ago
parent
commit
6d13becdb7
  1. 3
      ChangeLog
  2. 2
      src/frontend/com_sysinfo.c

3
ChangeLog

@ -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.

2
src/frontend/com_sysinfo.c

@ -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…
Cancel
Save