summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-09-05 22:07:26 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-09-05 22:07:26 (GMT)
commit5afc64f31b1cb2f3907ad5fa5f1a1629d27fb5c4 (patch)
tree93e7fa8a2d4a06da92177944931893b5ffeaf5bd /src/H5system.c
parent27473d70b03c83e8c84d460f29fb350f4509e529 (diff)
downloadhdf5-5afc64f31b1cb2f3907ad5fa5f1a1629d27fb5c4.zip
hdf5-5afc64f31b1cb2f3907ad5fa5f1a1629d27fb5c4.tar.gz
hdf5-5afc64f31b1cb2f3907ad5fa5f1a1629d27fb5c4.tar.bz2
[svn-r12648] Description:
This is VMS problem only. H5Dremove_all function was modified to use HDremove. Since HDremove is defined as HDremove_all in H5private.h, function became recursive causing all kinds of resource problems. Solution: Use "remove" instead. Platforms tested: VMS server
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index decef38..fb7d80e 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -567,7 +567,8 @@ HDremove_all(char *fname)
if(_fname) {
HDstrcpy(_fname, fname);
HDstrcat(_fname,";*");
- HDremove(_fname);
+ /* Do not use HDremove; function becomes recursive (see H5private.h file)*/
+ remove(_fname);
H5MM_xfree(_fname);
ret_value = 0;
}