diff options
-rw-r--r-- | src/H5system.c | 3 |
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; } |