FreeBSD Bugzilla – Attachment 128414 Details for
Bug 172273
unsetenv(3) issue according to autoconf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
getenv.patch
getenv.patch (text/plain; charset=windows-1251), 522 bytes, created by
ache
on 2012-10-02 17:29:33 UTC
(
hide
)
Description:
getenv.patch
Filename:
MIME Type:
Creator:
ache
Created:
2012-10-02 17:29:33 UTC
Size:
522 bytes
patch
obsolete
>--- getenv.c.old 2012-10-02 20:01:33.000000000 +0400 >+++ getenv.c 2012-10-02 20:25:47.000000000 +0400 >@@ -675,11 +675,13 @@ > > /* Deactivate specified variable. */ > envNdx = envVarsTotal - 1; >- if (__findenv(name, nameLen, &envNdx, true) != NULL) { >+ /* Remove all occurences */ >+ while (__findenv(name, nameLen, &envNdx, true) != NULL) { > envVars[envNdx].active = false; > if (envVars[envNdx].putenv) > __remove_putenv(envNdx); > __rebuild_environ(envActive - 1); >+ envNdx = envVarsTotal - 1; > } > > return (0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172273
:
128413
| 128414