- Fixed sicsprompt bug. Sicsprompt caused a core dump
- Removed generation of incommenurate reflections for 0,0,0 in fourmess.c - Implemented a Poch command for heartbeats - Fixed 64 bit dimension issues in nxdict - Fixed different calling conventions for NXReportError deep stack in nxdict - Stopped ei motor driving when not necessary - Added yet another monitor for POLDI - Added a protocoll driver for the JVL motor RS-485 binary protocoll - Fixed some reporting issues SKIPPED: psi/jvlprot.c psi/make_gen psi/polterwrite.c psi/psi.c psi/spss7.c
This commit is contained in:
@ -818,7 +818,7 @@ static int copyNode(pSICSData self, int argc, char *argv[],
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(argc < 2){
|
||||
if(argc > 2){
|
||||
status = Tcl_GetInt(InterpGetTcl(pSics), argv[2], &length);
|
||||
if (status != TCL_OK) {
|
||||
SCWrite(pCon,
|
||||
@ -827,6 +827,8 @@ static int copyNode(pSICSData self, int argc, char *argv[],
|
||||
} else {
|
||||
length = node->value.arrayLength;
|
||||
}
|
||||
} else {
|
||||
length = node->value.arrayLength;
|
||||
}
|
||||
if(length < 1) {
|
||||
length = 1;
|
||||
|
Reference in New Issue
Block a user