Merge branch 'conclean' into rhel7
Conflicts: SCinter.c telnet.c
This commit is contained in:
@ -334,14 +334,14 @@ int InterpExecute(SicsInterp * self, SConnection * pCon, char *pText)
|
||||
self->eOut = eValue;
|
||||
Tcl_ResetResult((Tcl_Interp *) self->pTcl);
|
||||
MacroPush(pCon);
|
||||
pCon->conStatus = 0;
|
||||
SCSetConStatus(pCon,0);
|
||||
old = StatisticsBegin(pCommand->stat);
|
||||
iRet = pCommand->OFunc(pCon, self, pCommand->pData, argc, argv);
|
||||
StatisticsEnd(old);
|
||||
/* If a task is registered with the dev exec then conStatus is HWBusy */
|
||||
if (pCon->conStatus != HWBusy) {
|
||||
if (SCGetConStatus(pCon) != HWBusy) {
|
||||
/*comCon = SCGetContext(pCon); */
|
||||
if (0 != strcmp("contextdo", pCon->deviceID))
|
||||
if (0 != strcmp("contextdo", SCGetDeviceID(pCon)))
|
||||
SCWrite(pCon, "", eFinish);
|
||||
}
|
||||
MacroPop();
|
||||
|
Reference in New Issue
Block a user