- fixed a little bug with hkl: phi limits were not properly tested
- updated powder file writing to properly work with mean and stddev
This commit is contained in:
18
commandlog.c
18
commandlog.c
@@ -162,6 +162,7 @@
|
||||
char pTime[80];
|
||||
pSicsVariable pInst = NULL;
|
||||
char *pPtr = NULL;
|
||||
SConnection *pIntern = NULL;
|
||||
|
||||
if(fauto)
|
||||
{
|
||||
@@ -198,6 +199,23 @@
|
||||
pInst->text,pTime);
|
||||
WriteToCommandLog("SYS>> ", pBueffel);
|
||||
}
|
||||
|
||||
/* if a file to execute is configured, execute it */
|
||||
pPtr = NULL;
|
||||
pPtr = IFindOption(pSICSOptions,"logstartfile");
|
||||
if(pPtr != NULL)
|
||||
{
|
||||
pIntern = SCCreateDummyConnection(pServ->pSics);
|
||||
if(!pIntern)
|
||||
{
|
||||
return;
|
||||
}
|
||||
SCnoSock(pIntern);
|
||||
SCSetRights(pIntern,usUser);
|
||||
sprintf(pBueffel,"fileeval %s",pPtr);
|
||||
InterpExecute(pServ->pSics,pIntern,pBueffel);
|
||||
SCDeleteConnection(pIntern);
|
||||
}
|
||||
}
|
||||
/*----------------------------------------------------------------------
|
||||
AutoTask puts a time stamp into the auto log file any hour and
|
||||
|
||||
Reference in New Issue
Block a user