bin/trace updates in H5PL.c

This commit is contained in:
Dana Robinson 2017-04-20 18:14:44 -04:00
parent cbab16c8f2
commit 15f85df540

View File

@ -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)