diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-03-11 08:55:50 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-03-11 08:55:50 -0700 |
commit | a2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b (patch) | |
tree | 92c0cf1d3efc57a2a703a1635d1fbcf969dc3f4b /posix | |
parent | 5ca10a0c9ad1edb3b2e2e59ac6dccdd879cf84ae (diff) | |
download | glibc-a2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b.tar glibc-a2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b.tar.gz glibc-a2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b.tar.bz2 glibc-a2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b.zip |
Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1).
Diffstat (limited to 'posix')
-rw-r--r-- | posix/wordexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/wordexp.c b/posix/wordexp.c index f470e083ef..f6062d58c8 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -1915,7 +1915,7 @@ envsubst: if (pattern && !value) goto no_space; - __setenv (env, value, 1); + __setenv (env, value ?: "", 1); break; default: |