- Fixed sicsprompt bug. Sicsprompt caused a core dump
- Removed generation of incommenurate reflections for 0,0,0 in fourmess.c - Implemented a Poch command for heartbeats - Fixed 64 bit dimension issues in nxdict - Fixed different calling conventions for NXReportError deep stack in nxdict - Stopped ei motor driving when not necessary - Added yet another monitor for POLDI - Added a protocoll driver for the JVL motor RS-485 binary protocoll - Fixed some reporting issues SKIPPED: psi/jvlprot.c psi/make_gen psi/polterwrite.c psi/psi.c psi/spss7.c
This commit is contained in:
11
commandlog.c
11
commandlog.c
@@ -26,6 +26,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <tcl.h>
|
||||
#include "splitter.h"
|
||||
#include "sics.h"
|
||||
#include "ifile.h"
|
||||
#include "sicsvar.h"
|
||||
@@ -423,6 +424,16 @@ int CommandLog(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
PrintTail(iVal, pCon);
|
||||
return 1;
|
||||
}
|
||||
/**
|
||||
* handle write
|
||||
*/
|
||||
|
||||
if (strcmp(argv[1], "write") == 0) {
|
||||
Arg2Text(argc-2, &argv[2],pBueffel,sizeof(pBueffel));
|
||||
WriteToCommandLogId(NULL, pCon->sockHandle,pBueffel);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* check rights */
|
||||
if (!SCMatchRights(pCon, usMugger)) {
|
||||
|
||||
Reference in New Issue
Block a user