- 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:
koennecke
2010-04-16 09:02:17 +00:00
parent 5bcbacfb81
commit eaf96b1893
5 changed files with 8 additions and 4 deletions

View File

@ -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();