From 7366f7359ced7b2d5789ca4e5118d8e0874a66b4 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 28 May 2004 18:17:25 +0000 Subject: [PATCH] Added final call to errlogFlush(), needed for solaris-sparc-gnu for some unknown reason - without it, the program doesn't always exit properly. --- src/libCom/test/macEnvExpandTest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libCom/test/macEnvExpandTest.c b/src/libCom/test/macEnvExpandTest.c index badb4e742..1c823bec9 100644 --- a/src/libCom/test/macEnvExpandTest.c +++ b/src/libCom/test/macEnvExpandTest.c @@ -18,6 +18,7 @@ #include "macLib.h" #include "envDefs.h" +#include "errlog.h" int check(char *str, char *expect) @@ -54,5 +55,7 @@ int macEnvExpandTest(void) bad |= check ("${FOO}", "VAL1"); epicsEnvSet("BAR","${STR2}"); bad |= check ("${FOO}", "VAL2"); + + errlogFlush(); return bad; }