diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-02-04 15:35:17 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-02-04 15:35:17 (GMT) |
commit | c746447b0dccc66e89038e2eae93cc88db67f825 (patch) | |
tree | 4c172679318e8df2e028132c585b58efa0838644 /src/H5private.h | |
parent | e9139733f2e6d90c5474d2593519ee7c45b00155 (diff) | |
download | hdf5-c746447b0dccc66e89038e2eae93cc88db67f825.zip hdf5-c746447b0dccc66e89038e2eae93cc88db67f825.tar.gz hdf5-c746447b0dccc66e89038e2eae93cc88db67f825.tar.bz2 |
[svn-r29041] Patch from Steffen Kiess that allows a relative path to be specified
for external dataset files set via H5Pset_external().
Resolves HDFFV-8740
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 74763a5..0331e2c 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1189,6 +1189,9 @@ typedef off_t h5_stat_size_t; #ifndef HDsetbuf #define HDsetbuf(F,S) setbuf(F,S) #endif /* HDsetbuf */ +#ifndef HDsetenv + #define HDsetenv(N,V,O) setenv(N,V,O) +#endif /* HDsetenv */ #ifndef HDsetgid #define HDsetgid(G) setgid(G) #endif /* HDsetgid */ @@ -2557,7 +2560,8 @@ H5_DLL uint32_t H5_hash_string(const char *str); H5_DLL time_t H5_make_time(struct tm *tm); /* Functions for building paths, etc. */ -H5_DLL herr_t H5_build_extpath(const char *, char ** /*out*/ ); +H5_DLL herr_t H5_build_extpath(const char *name, char **extpath /*out*/); +H5_DLL herr_t H5_combine_path(const char *path1, const char *path2, char **full_name /*out*/); /* Functions for debugging */ H5_DLL herr_t H5_buffer_dump(FILE *stream, int indent, const uint8_t *buf, |