summaryrefslogtreecommitdiffstats
path: root/test/flush1.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-28 21:23:13 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-28 21:23:13 (GMT)
commitbcb587dcc2305763546acd8e3303240530cd20cf (patch)
tree5a9e89047989e529f38005725b671bd62fa1e9d7 /test/flush1.c
parent3a925f72d08e3e61602c9e3344c1f67b340057fb (diff)
downloadhdf5-bcb587dcc2305763546acd8e3303240530cd20cf.zip
hdf5-bcb587dcc2305763546acd8e3303240530cd20cf.tar.gz
hdf5-bcb587dcc2305763546acd8e3303240530cd20cf.tar.bz2
[svn-r4081]
Purpose: [is this a bug fix? feature? ...] Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
Diffstat (limited to 'test/flush1.c')
-rw-r--r--test/flush1.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/flush1.c b/test/flush1.c
index c1017c5..c543bcf 100644
--- a/test/flush1.c
+++ b/test/flush1.c
@@ -13,6 +13,15 @@
*/
#include "h5test.h"
+
+#if defined __MWERKS__
+#include <abort_exit.h>
+# define EXIT(a) __exit(a)
+#else
+# define EXIT(a) _exit(a)
+#endif
+
+
const char *FILENAME[] = {
"flush",
NULL
@@ -88,10 +97,10 @@ main(void)
PASSED();
fflush(stdout);
fflush(stderr);
- _exit(0);
+ EXIT(0);
return 0;
error:
- _exit(1);
+ EXIT(1);
return 1;
}