- Fixed missalignment in TAS scan messages

- Fixed a counting/driving race in devexec
- Fixed some problems with sanscheck
This commit is contained in:
cvs
2003-11-25 10:29:22 +00:00
parent d08d1c68bb
commit e6c51e8fe9
9 changed files with 32 additions and 20 deletions

View File

@ -122,7 +122,7 @@ static int TASHeader(pScanData self)
{
pTASdata pTAS = (pTASdata)self->pSpecial;
int i, iCount, status, iFileNO;
char pBueffel[1024], pHeader[1024], pWork[132], pWork2[60], pTen[11], *pcPtr;
char pBueffel[1024], pHeader[1024], pWork[132], pWork2[60], pTen[12], *pcPtr;
time_t iDate;
struct tm *psTime;
pVarEntry pVar = NULL;
@ -377,7 +377,7 @@ static int TASHeader(pScanData self)
strcpy(pHeader," PNT PAL");
} else {
strcpy(pBueffel,"FORMT: (I4,1X,");
strcpy(pHeader," PNT");
strcpy(pHeader," PNT ");
}
for(i = 0; i < self->iScanVar; i++)
{
@ -388,7 +388,7 @@ static int TASHeader(pScanData self)
strcat(pBueffel,"F9.4,1X,");
strncpy(pWork2,pVar->Name,59);
strtoupper(pWork2);
strcenter(pWork2,pTen,10);
strcenter(pWork2,pTen,11);
strcat(pHeader,pTen);
}
}
@ -396,7 +396,7 @@ static int TASHeader(pScanData self)
put the standard counter things
*/
strcat(pBueffel,"F8.0,1X,F8.0,1X,F9.2,1X,F8.0,1X,F8.0,1X,");
strcat(pHeader," M1 M2 TIME CNTS M3 ");
strcat(pHeader," M1 M2 TIME CNTS M3 ");
/*
now the additional variables
*/