summaryrefslogtreecommitdiffstats
path: root/src/H5PL.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-03-27 22:30:21 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-03-27 22:30:21 (GMT)
commitc76847d107d5fab28e6b9ced5b054669064e984a (patch)
treee2c82107dd50972e466015736d16ea742e4f96ec /src/H5PL.c
parent5f8f3dcb793ac58a084ed38e841bf98f4bfd486b (diff)
downloadhdf5-c76847d107d5fab28e6b9ced5b054669064e984a.zip
hdf5-c76847d107d5fab28e6b9ced5b054669064e984a.tar.gz
hdf5-c76847d107d5fab28e6b9ced5b054669064e984a.tar.bz2
[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.
Diffstat (limited to 'src/H5PL.c')
-rw-r--r--src/H5PL.c4
1 files 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 */