sct_positmotor_common.tcl

script_context_util.tcl
Readability improvements.

sicshipadaba.c
SICS-321 Fix segfault

sct_jogmotor_common.tcl
Started making a jog motor object.

r2762 | ffr | 2008-12-24 13:24:25 +1100 (Wed, 24 Dec 2008) | 10 lines
This commit is contained in:
Ferdi Franceschini
2008-12-24 13:24:25 +11:00
committed by Douglas Clowes
parent 2d6dbe647f
commit fb817f2aa8
4 changed files with 196 additions and 17 deletions

View File

@@ -2334,7 +2334,11 @@ static int GetHdbNode(SConnection *pCon, SicsInterp *pSics, void *pData,
}
}
memset(&newValue,0,sizeof(hdbValue));
GetHipadabaPar(targetNode, &newValue, pCon);
/* ffr XXX I expect if status=0 then we don't have a valid value
Original code was causing a segfault for hdb text nodes
*/
if (0 == GetHipadabaPar(targetNode, &newValue, pCon))
return 0;
parData = formatValue(newValue, targetNode);
if(parData == NULL){
SCWrite(pCon,"ERROR: out of memory formatting data",eError);