mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
bin/trace updates in H5PL.c
This commit is contained in:
parent
cbab16c8f2
commit
15f85df540
@ -421,6 +421,7 @@ H5PLappend(const char *plugin_path)
|
||||
char *dl_path = NULL;
|
||||
|
||||
FUNC_ENTER_API(FAIL)
|
||||
H5TRACE1("e", "*s", plugin_path);
|
||||
if(H5PL_num_paths_g == H5PL_MAX_PATH_NUM)
|
||||
HGOTO_ERROR(H5E_PLUGIN, H5E_NOSPACE, FAIL, "too many directories in path for table")
|
||||
if(NULL == plugin_path)
|
||||
@ -455,6 +456,7 @@ H5PLprepend(const char *plugin_path)
|
||||
unsigned int plindex;
|
||||
|
||||
FUNC_ENTER_API(FAIL)
|
||||
H5TRACE1("e", "*s", plugin_path);
|
||||
if(H5PL_num_paths_g == H5PL_MAX_PATH_NUM)
|
||||
HGOTO_ERROR(H5E_PLUGIN, H5E_NOSPACE, FAIL, "too many directories in path for table")
|
||||
if(NULL == plugin_path)
|
||||
@ -490,6 +492,7 @@ H5PLreplace(const char *plugin_path, unsigned int index)
|
||||
char *dl_path = NULL;
|
||||
|
||||
FUNC_ENTER_API(FAIL)
|
||||
H5TRACE2("e", "*sIu", plugin_path, index);
|
||||
if(NULL == plugin_path)
|
||||
HGOTO_ERROR(H5E_PLUGIN, H5E_CANTALLOC, FAIL, "no path provided")
|
||||
if(index >= H5PL_MAX_PATH_NUM)
|
||||
@ -525,6 +528,7 @@ H5PLinsert(const char *plugin_path, unsigned int index)
|
||||
unsigned int plindex;
|
||||
|
||||
FUNC_ENTER_API(FAIL)
|
||||
H5TRACE2("e", "*sIu", plugin_path, index);
|
||||
if(H5PL_num_paths_g == H5PL_MAX_PATH_NUM)
|
||||
HGOTO_ERROR(H5E_PLUGIN, H5E_NOSPACE, FAIL, "too many directories in path for table")
|
||||
if(NULL == plugin_path)
|
||||
|
Loading…
Reference in New Issue
Block a user