print out the EPICS release when there is an assert failure

This commit is contained in:
Jeff Hill
1996-06-19 17:14:12 +00:00
parent a03cf9b56e
commit 506003f300
2 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,9 @@
* Modification Log:
* -----------------
* $Log$
* Revision 1.4 1995/12/19 19:40:04 jhill
* added author name
*
* Revision 1.3 1995/08/12 00:59:11 jhill
* use $log in header
*
@@ -39,6 +42,7 @@
#include <epicsAssert.h>
#include <epicsPrint.h>
#include <epicsVersion.h>
/*
@@ -80,6 +84,7 @@ void epicsAssert (const char *pFile, const unsigned line, const char *pMsg,
"this message to \"tech-talk@aps.anl.gov\"\n");
}
epicsPrintf ("This problem occurred in \"%s\"\n", epicsReleaseVersion);
abort ();
}

View File

@@ -27,6 +27,9 @@
* Modification Log:
* -----------------
* $Log$
* Revision 1.4 1995/12/19 19:40:07 jhill
* added author name
*
* Revision 1.3 1995/08/12 01:00:07 jhill
* use $log in header
*
@@ -43,6 +46,7 @@
#include <epicsAssert.h>
#include <epicsPrint.h>
#include <epicsVersion.h>
/*
@@ -84,6 +88,7 @@ void epicsAssert (const char *pFile, const unsigned line, const char *pMsg,
"to the author or \"tech-talk@aps.anl.gov\"\n");
}
epicsPrintf ("This problem occurred in \"%s\"\n", epicsReleaseVersion);
taskSuspend (taskId);
}