mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Use errno property instead of setErrno in std.path.
This commit is contained in:
parent
9f5c180b66
commit
d27198beed
1 changed files with 1 additions and 1 deletions
|
@ -2708,7 +2708,7 @@ string expandTilde(string inputPath)
|
|||
|
||||
// Obtain info from database.
|
||||
passwd *verify;
|
||||
setErrno(0);
|
||||
errno = 0;
|
||||
if (getpwnam_r(cast(char*) username.ptr, &result, cast(char*) extra_memory, extra_memory_size,
|
||||
&verify) == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue