- Fixed a bug which caused the status file to be overwritten before it
could be read on initialization. - The new SLS magnet driver for the TCP/IP concentrator now successfully writes data SKIPPED: psi/slsecho.c
This commit is contained in:
@ -52,6 +52,7 @@ extern void NetWatchInit(void); /* in nwatch.c */
|
||||
|
||||
#define DEFAULTINIFILE "servo.tcl"
|
||||
#define DEFAULTSTATUSFILE "sicsstat.tcl"
|
||||
#define INIT(F) { void F(void); F(); }
|
||||
|
||||
static int iFortifyScope;
|
||||
|
||||
@ -259,6 +260,8 @@ int InitServer(char *file, pServer * pServ)
|
||||
SCInvoke(self->dummyCon, self->pSics, pBueffel);
|
||||
}
|
||||
|
||||
INIT(StatusFileInit);
|
||||
|
||||
/* exit handlers need to be installed here */
|
||||
atexit(StopExit);
|
||||
(void)Fortify_CheckAllMemory();
|
||||
|
Reference in New Issue
Block a user