mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
LibC: Don't clear static storage during endpwent
This commit is contained in:
parent
d903af3614
commit
ee5ee0ef86
|
@ -46,14 +46,6 @@ void endpwent()
|
|||
fclose(s_stream);
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue