Skip to content

Commit

Permalink
[win32] fix a weird error in the environment variable code for win32 …
Browse files Browse the repository at this point in the history
…where we were passing a char* instead of a STRING* like we should ahve been

git-svn-id: https://svn.parrot.org/parrot/trunk@41961 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Whiteknight committed Oct 20, 2009
1 parent b5fb8fb commit 8b71d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/gen/platform/win32/env.c
Expand Up @@ -131,7 +131,7 @@ Parrot_unsetenv(PARROT_INTERP, STRING *name)
string -- in other words, by specifying only varname=.
-- _putenv, _wputenv (CRT) documentation
*/
Parrot_setenv(interp, name, "");
Parrot_setenv(interp, name, Parrot_str_new(interp, "", 0));
}

/*
Expand Down

0 comments on commit 8b71d12

Please sign in to comment.