Compare commits

...

4 Commits

4 changed files with 5 additions and 4 deletions

View File

@ -741,16 +741,15 @@ process()
debug("Stream::process(%s) start\n", name());
status = NO_ALARM;
convert = OK;
record->pact = true;
if (!startProtocol(StreamCore::StartNormal))
{
debug("Stream::process(%s): could not start, status=%d\n",
name(), status);
(void) recGblSetSevr(record, status, INVALID_ALARM);
record->pact = false;
return false;
}
debug("Stream::process(%s): protocol started\n", name());
record->pact = true;
return true;
}

View File

@ -1359,7 +1359,8 @@ compileString(StreamBuffer& buffer, const char*& source,
source);
return false;
}
if (formatType != NoFormat)
if (formatType != NoFormat &&
i > 2 /* do not escape skip */)
{
buffer.append(esc);
}

View File

@ -23,7 +23,7 @@
#define STREAM_MAJOR 2
#define STREAM_MINOR 7
#define STREAM_PATCHLEVEL 13
#define STREAM_PATCHLEVEL 14
#if defined(__vxworks) || defined(vxWorks)
#include <vxWorks.h>

View File

@ -192,6 +192,7 @@ static long writeData (dbCommon *record, format_t *format)
return ERROR;
break;
}
case DBF_ULONG:
case DBF_LONG:
case DBF_ENUM:
{