diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-16 12:39:22 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-16 12:39:22 +0000 |
commit | 915eff2d392165d3994cc8bfac2e82b8fe40f719 (patch) | |
tree | 13511414b6ba6efba82f434942c46379cc37b327 /misc/unix | |
parent | 7cdbb20e961c34671661df78adb8a7ed932a8ee8 (diff) | |
download | libapr-915eff2d392165d3994cc8bfac2e82b8fe40f719.tar.gz |
add a hint that may help somebod get apr_env_delete() working on their
box
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/unix')
-rw-r--r-- | misc/unix/env.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/unix/env.c b/misc/unix/env.c index f8ef3c2a2..b96be21cc 100644 --- a/misc/unix/env.c +++ b/misc/unix/env.c @@ -123,6 +123,13 @@ APR_DECLARE(apr_status_t) apr_env_delete(const char *envvar, apr_pool_t *pool) return APR_SUCCESS; #else + /* hint: some platforms allow envvars to be unset via + * putenv("varname")... that isn't Single Unix spec, + * but if your platform doesn't have unsetenv() it is + * worth investigating and potentially adding a + * configure check to decide when to use that form of + * putenv() here + */ return APR_ENOTIMPL; #endif } |