summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-29 15:27:15 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-29 15:27:15 (GMT)
commit098ed81ec88483581d08974f27a62bf42a836fc3 (patch)
tree6635d919289a5313946911b32bc1d30e9ce1cf6f /test
parent79c65cc4c0c9195ece5ed4f314e789e8e50f9f7a (diff)
downloadhdf5-098ed81ec88483581d08974f27a62bf42a836fc3.zip
hdf5-098ed81ec88483581d08974f27a62bf42a836fc3.tar.gz
hdf5-098ed81ec88483581d08974f27a62bf42a836fc3.tar.bz2
[svn-r4083]
code warrior support and some clean up the macros file_seek and file_offset_t that were repeated over sevral files were put only in H5private.h H5private .h was updated for win32 vthe Description: Solution: Platforms tested:
Diffstat (limited to 'test')
-rw-r--r--test/iopipe.c7
-rw-r--r--test/titerate.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/test/iopipe.c b/test/iopipe.c
index 05694ae..aa76369 100644
--- a/test/iopipe.c
+++ b/test/iopipe.c
@@ -9,10 +9,13 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
#include "hdf5.h"
+
#ifdef H5_HAVE_WINSOCK_H
#include <Winsock.h>
-#endif /*Winsock.h includes windows.h, due to the different value of
- WINVER, windows.h should be put before H5private.h. Kent yang 6/21/2001*/
+#endif
+
+/*Winsock.h includes windows.h, due to the different value of
+WINVER, windows.h should be put before H5private.h. Kent yang 6/21/2001*/
#include "H5private.h"
diff --git a/test/titerate.c b/test/titerate.c
index ea80cf7..c4370f8 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -133,7 +133,7 @@ static void test_iter_group(void)
CHECK(dataset, FAIL, "H5Dcreate");
/* Keep a copy of the dataset names around for later */
- dnames[i]=strdup(name);
+ dnames[i]=HDstrdup(name);
CHECK(dnames[i], NULL, "strdup");
ret=H5Dclose(dataset);
@@ -280,7 +280,7 @@ static void test_iter_attr(void)
CHECK(attribute, FAIL, "H5Acreate");
/* Keep a copy of the attribute names around for later */
- anames[i]=strdup(name);
+ anames[i]=HDstrdup(name);
CHECK(anames[i], NULL, "strdup");
ret=H5Aclose(attribute);