mirror of
git://sourceware.org/git/glibc.git
synced 2026-11-28 12:17:57 +08:00
Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
[BZ #18043]
|
||||
* posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
|
||||
|
||||
2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
|
||||
|
||||
+1
-1
@@ -1915,7 +1915,7 @@ envsubst:
|
||||
if (pattern && !value)
|
||||
goto no_space;
|
||||
|
||||
__setenv (env, value, 1);
|
||||
__setenv (env, value ?: "", 1);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user