diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2008-04-04 04:16:53 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2008-04-04 04:16:53 (GMT) |
commit | 5ad99f2c31a78aaa954ab59769a4c9bfd41813ca (patch) | |
tree | 00d2bebe3941dac9931bda067f7732d840b777a0 /src | |
parent | c83dbd9c1869639721ca73df403fe3df98b21f09 (diff) | |
download | hdf5-5ad99f2c31a78aaa954ab59769a4c9bfd41813ca.zip hdf5-5ad99f2c31a78aaa954ab59769a4c9bfd41813ca.tar.gz hdf5-5ad99f2c31a78aaa954ab59769a4c9bfd41813ca.tar.bz2 |
[svn-r14794] Use putenv() instead of setenv() in test/links.c
(solaris did not support setenv() and unsetenv())
Diffstat (limited to 'src')
-rw-r--r-- | src/H5private.h | 3 | ||||
-rw-r--r-- | src/H5system.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h index 734290d..6a5590b 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -649,8 +649,7 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); #endif #define HDgetegid() getegid() #define HDgetenv(S) getenv(S) -#define HDsetenv(S,V,O) setenv(S,V,O) -#define HDunsetenv(S) unsetenv(S) +#define HDputenv(S) putenv(S) #define HDgeteuid() geteuid() #define HDgetgid() getgid() #define HDgetgrgid(G) getgrgid(G) diff --git a/src/H5system.c b/src/H5system.c index d65103a..4a49d71 100644 --- a/src/H5system.c +++ b/src/H5system.c @@ -582,6 +582,7 @@ HDremove_all(const char *fname) /* + *------------------------------------------------------------------------- * * Function: H5_build_extpath * @@ -596,6 +597,7 @@ HDremove_all(const char *fname) * * Programmer: Vailin Choi * April 2, 2008 + *------------------------------------------------------------------------- */ #define MAX_PATH_LEN 1024 |