summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-03-22 22:52:07 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-03-22 22:52:07 (GMT)
commit391e4743798a3bd02dc0ad673fa2da9dcdaf3510 (patch)
tree7d4e0153098bd83d4d7e0977f455d0d6aa59d9d5 /src/H5private.h
parent9a560ba31a34ba169e8c46310ca91e04d66d230a (diff)
downloadhdf5-391e4743798a3bd02dc0ad673fa2da9dcdaf3510.zip
hdf5-391e4743798a3bd02dc0ad673fa2da9dcdaf3510.tar.gz
hdf5-391e4743798a3bd02dc0ad673fa2da9dcdaf3510.tar.bz2
[svn-r12138] Purpose: VMS port
Description: Unix remove function removes only the latest version of a file on VMS. Some of our tests create multiple versions of the testfiles and as a result, test programs may be confused, give false negative result, etc. Solution: Created HDremove_all function for VMS that removes all versions of the files. HDremove on VMS is an alias to HDremove_all. Platforms tested: VMS server and heping (to check that nothing is borken on UNIX side) Misc. update:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 8a10783..cf16bce 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -789,7 +789,8 @@ H5_DLL int HDrand(void);
#define HDreaddir(D) readdir(D)
#define HDrealloc(M,Z) realloc(M,Z)
#ifdef H5_VMS
-#define HDremove(Y) remove(Y";*")
+#define HDremove(S) HDremove_all(S)
+int HDremove_all(char * fname);
#else
#define HDremove(S) remove(S)
#endif /*H5_VMS*/