From 40b72387aba7e8ca596e763cdb0b0ceb9a014470 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 22 Mar 2004 23:39:34 -0500 Subject: [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. --- src/H5FDmpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12