Posix targets should now build correctly against the core.stdc chages.

This commit is contained in:
Sean Kelly 2009-03-25 14:53:41 +00:00
parent 5ae67f23ac
commit 7de36d8138
3 changed files with 3 additions and 9 deletions

View file

@ -1229,7 +1229,7 @@ private string expandFromDatabase(string path)
// Obtain info from database.
passwd *verify;
std.c.stdlib.setErrno(0);
setErrno(0);
if (getpwnam_r(username.ptr, &result, extra_memory, extra_memory_size,
&verify) == 0)
{