diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:39:34 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:39:34 (GMT) |
commit | 40b72387aba7e8ca596e763cdb0b0ceb9a014470 (patch) | |
tree | e52548b8428bf976b28bd5c199c68681db4f6fb9 /src/H5FDmpio.c | |
parent | 0af78cf333437d9e9985711f4c8dc07e7a9d8ead (diff) | |
download | hdf5-40b72387aba7e8ca596e763cdb0b0ceb9a014470.zip hdf5-40b72387aba7e8ca596e763cdb0b0ceb9a014470.tar.gz hdf5-40b72387aba7e8ca596e763cdb0b0ceb9a014470.tar.bz2 |
[svn-r8271] 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.
Diffstat (limited to 'src/H5FDmpio.c')
-rw-r--r-- | src/H5FDmpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c index b5b4938..8f8c769 100644 --- a/src/H5FDmpio.c +++ b/src/H5FDmpio.c @@ -182,7 +182,7 @@ 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 = H5FDregister(&H5FD_mpio_g); #ifdef H5FDmpio_DEBUG |