- Connections write timeouts were incorrectly handled in asynnetc. Fixed.
- Implemented the desired run/drive behaviour: drive waits for what it started run starts, and success waits for everything to finish. This required changes to a lot of files. - Fixed a bug in remob which supressed required messages
This commit is contained in:
5
conman.c
5
conman.c
@ -198,7 +198,8 @@ static SConnection *CreateConnection(SicsInterp * pSics)
|
||||
pRes->listening = 0;
|
||||
pRes->conStart = time(NULL);
|
||||
pRes->write = SCNormalWrite;
|
||||
|
||||
pRes->runLevel = RUNDRIVE;
|
||||
|
||||
/* initialise context variables */
|
||||
pRes->iCmdCtr = 0;
|
||||
pRes->conEventType = -1;
|
||||
@ -425,6 +426,7 @@ SConnection *SCCopyConnection(SConnection * pCon)
|
||||
result->conStart = pCon->conStart;
|
||||
result->contextStack = -1;
|
||||
result->iList = -1;
|
||||
result->runLevel = pCon->runLevel;
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -847,7 +849,6 @@ int SCWriteWithOutcode(SConnection * self, char *buffer, int iOut)
|
||||
free(bufPtr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static int SCBufferWrite(SConnection * self, char *buffer, int iOut)
|
||||
{
|
||||
|
Reference in New Issue
Block a user