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