Skip to content
Snippets Groups Projects
Commit 6a071107 authored by deuce's avatar deuce
Browse files

Fix setenv(), remove comment.

parent 7487062f
No related branches found
No related tags found
No related merge requests found
......@@ -1080,8 +1080,8 @@ static int setenv(const char *name, const char *value, int overwrite)
errno=ENOMEM;
return(-1);
}
/* ToDo: (comment for shurd) */
/* Uh... I'm pretty sure we're missing an sprintf() call here or something... */
/* Note, on some platforms, this can be free()d... */
sprintf(envstr,"%s=%s",name,value);
putenv(envstr);
}
return(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment