mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:45:10 +00:00
LibC: Don't clear static storage during endpwent
This commit is contained in:
parent
d903af3614
commit
ee5ee0ef86
1 changed files with 0 additions and 8 deletions
|
@ -46,14 +46,6 @@ void endpwent()
|
||||||
fclose(s_stream);
|
fclose(s_stream);
|
||||||
s_stream = nullptr;
|
s_stream = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&s_passwd_entry, 0, sizeof(s_passwd_entry));
|
|
||||||
|
|
||||||
s_name = {};
|
|
||||||
s_passwd = {};
|
|
||||||
s_gecos = {};
|
|
||||||
s_dir = {};
|
|
||||||
s_shell = {};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct passwd* getpwuid(uid_t uid)
|
struct passwd* getpwuid(uid_t uid)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue