From 506003f300802e125617d887da8d6d11ebc01bf0 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 19 Jun 1996 17:14:12 +0000 Subject: [PATCH] print out the EPICS release when there is an assert failure --- src/libCom/assertUNIX.c | 5 +++++ src/libCom/assertVX.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/libCom/assertUNIX.c b/src/libCom/assertUNIX.c index 24f2ef6db..dc8879efb 100644 --- a/src/libCom/assertUNIX.c +++ b/src/libCom/assertUNIX.c @@ -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 #include +#include /* @@ -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 (); } diff --git a/src/libCom/assertVX.c b/src/libCom/assertVX.c index 2b31ded21..8a69c1e51 100644 --- a/src/libCom/assertVX.c +++ b/src/libCom/assertVX.c @@ -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 #include +#include /* @@ -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); }