From c76847d107d5fab28e6b9ced5b054669064e984a Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Wed, 27 Mar 2013 17:30:21 -0500 Subject: [svn-r23472] I updated the default search path for plugin module to be /usr/local/hdf5/lib/plugin for Unix and "%ALLUSERSPROFILE%/hdf5/lib/plugin" for Windows. Tested with Albert's committest on 6 systesm. --- src/H5PL.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5PL.c b/src/H5PL.c index 86c6615..3cb5708 100644 --- a/src/H5PL.c +++ b/src/H5PL.c @@ -44,7 +44,7 @@ /* Windows support */ #ifdef H5_HAVE_WIN32_API -#define H5PL_DEFAULT_PATH ".;/ProgramData;/Users/Public" +#define H5PL_DEFAULT_PATH "%ALLUSERSPROFILE%/hdf5/lib/plugin" #define H5PL_PATH_SEPARATOR ";" /* Handle for dynamic library */ @@ -67,7 +67,7 @@ typedef const H5Z_class2_t *(__cdecl *get_filter_info_t)(); /* Unix support */ #else /* H5_HAVE_WIN32_API */ -#define H5PL_DEFAULT_PATH "/usr:/usr/lib:/usr/local" +#define H5PL_DEFAULT_PATH "/usr/local/hdf5/lib/plugin" #define H5PL_PATH_SEPARATOR ":" /* Handle for dynamic library */ -- cgit v0.12