diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-03-07 11:50:45 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-03-07 11:50:45 -0500 |
commit | 3c3d83d5584da288a2abd22a60ccd3f749a4c4f2 (patch) | |
tree | ed7e0ea4255dd3b12dc11a1e1d56747a7e33319c /src | |
parent | 3d78dc9a8f37fa1361132a0682d7c6f574cf6c4a (diff) |
getenv calls UNIX getenv() when no special alternative is set
Diffstat (limited to 'src')
-rw-r--r-- | src/c/urweb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 5ac5aa55..ffcc0146 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -3672,7 +3672,7 @@ uw_Basis_string uw_Basis_getenv(uw_context ctx, uw_Basis_string name) { if (ctx->get_env) return ctx->get_env(ctx->get_env_data, name); else - return NULL; + return getenv(name); } uw_Basis_string uw_unnull(uw_Basis_string s) { |