[klibc] Re: klibc - setenv broken
H. Peter Anvin
hpa at zytor.com
Sun Feb 8 21:44:13 PST 2004
Kay Sievers wrote:
> Hi,
> this simple program compiled with klibc:
>
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
> setenv("TESTENV", "happy", 1);
> printf("TESTENV='%s'\n", getenv("TESTENV"));
> }
>
> prints:
>
> ./env
> TESTENV='(null)'
>
>
> thanks,
> Kay
Released klibc-0.104 to fix this bug, and in general clean up the
setenv/putenv implementation and testing.
-hpa
More information about the klibc
mailing list