summaryrefslogtreecommitdiffstats
path: root/src/H5PL.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-03-18 20:44:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-03-18 20:44:02 (GMT)
commit23635d656a7ebb30f082960a27174453a27e96f6 (patch)
tree3155914a33e91a6be2cfc8ea6b6475509fcf9b58 /src/H5PL.c
parentebfebfd7d5a9856eacf94fd1a77867fe757543e5 (diff)
downloadhdf5-23635d656a7ebb30f082960a27174453a27e96f6.zip
hdf5-23635d656a7ebb30f082960a27174453a27e96f6.tar.gz
hdf5-23635d656a7ebb30f082960a27174453a27e96f6.tar.bz2
[svn-r23368] Correct names and add includes for windows
Diffstat (limited to 'src/H5PL.c')
-rw-r--r--src/H5PL.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index b0c2291..5e1b224 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -286,7 +286,6 @@ H5PL_find(H5PL_type_t plugin_type, int type_id, char *dir, void **info)
{
char *pathname = NULL;
struct dirent *dp = NULL;
- struct stat my_stat;
WIN32_FIND_DATA fdFile;
HANDLE hFind = NULL;
@@ -375,7 +374,7 @@ H5PL_open(H5PL_type_t pl_type, char *libname, int pl_id, void **pl_info)
/*fprintf(stderr, "not open dl library: %s\n", H5PL_CLR_ERR);*/
HGOTO_DONE(ret_value)
- H5PL_CLR_ERR; /*clear error*/
+ H5PL_CLR_ERROR; /*clear error*/
/* Return a handle for the function H5PL_get_plugin_info in the dynamic library.
* The plugin library is suppose to define this function. */
@@ -448,7 +447,7 @@ fprintf(stderr, "%s: H5PL_table_used_g=%d, id=%d\n", FUNC, H5PL_table_used_g, (H
for(i=0; i<H5PL_table_used_g; i++) {
if((plugin_type == (H5PL_table_g[i]).pl_type) && (type_id == (H5PL_table_g[i]).pl_id)) {
if(NULL == (H5PL_get_plugin_info = H5PL_GET_LIB_FUNC((H5PL_table_g[i]).handle, "H5PL_get_plugin_info")))
- HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get function: %s", H5PL_CLR_ERR)
+ HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get function: %s", H5PL_CLR_ERROR)
if(NULL == (plugin_info = (*H5PL_get_plugin_info)()))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTGET, FAIL, "can't get plugin info")