diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:39:37 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:39:37 (GMT) |
commit | 5f7cc587559f9b421e82dc7c70c37077a4411706 (patch) | |
tree | b5388f82063781e6b7ccc2395295b313e9ad7654 | |
parent | 3c9420c967db91e486a85b7167696d37ce54d0d0 (diff) | |
download | hdf5-5f7cc587559f9b421e82dc7c70c37077a4411706.zip hdf5-5f7cc587559f9b421e82dc7c70c37077a4411706.tar.gz hdf5-5f7cc587559f9b421e82dc7c70c37077a4411706.tar.bz2 |
[svn-r8272] Purpose:
bug fix.
Description:
H5FD_mpio_init was calling the public API version of H5Iget_type()
which would clear the error stack, thus cleared away error messages
prematurely.
Solution:
Changed it to call the private version of H5I_get_type() which
does not clear the error stack.
Platforms tested:
o2 (SGI) parallel.
-rw-r--r-- | src/H5FDmpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c index 4d550a3..7d967c9 100644 --- a/src/H5FDmpio.c +++ b/src/H5FDmpio.c @@ -181,9 +181,8 @@ H5FD_mpio_init(void) FUNC_ENTER_NOAPI(H5FD_mpio_init, FAIL) - if (H5I_VFL!=H5Iget_type(H5FD_MPIO_g)) + if (H5I_VFL!=H5I_get_type(H5FD_MPIO_g)) H5FD_MPIO_g = H5FD_register((const H5FD_class_t *)&H5FD_mpio_g,sizeof(H5FD_class_mpi_t)); - #ifdef H5FDmpio_DEBUG if (!H5FD_mpio_Debug_inited) { |