Mercurial > projects > ldc
diff dmd2/mars.c @ 849:ba390e5e9150
Remove unportable env-sanitizing code. If it is really needed, it needs to be
rethought. Closes #131.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 14 Dec 2008 16:30:06 +0100 |
parents | 8e6135be6999 |
children | 5f5e6eb790e7 |
line wrap: on
line diff
--- a/dmd2/mars.c Sat Dec 13 13:15:31 2008 +0100 +++ b/dmd2/mars.c Sun Dec 14 16:30:06 2008 +0100 @@ -244,7 +244,7 @@ ); } -int main(int argc, char *argv[], char** envp) +int main(int argc, char *argv[]) { int i; Array files; @@ -1234,7 +1234,7 @@ printf("code %s\n", m->toChars()); if (global.params.obj) { - m->genobjfile(0, envp); + m->genobjfile(0); global.params.objfiles->push(m->objfile->name->str); } if (global.errors)