LibC: Don't clear static storage during endpwent
This commit is contained in:
parent
d903af3614
commit
ee5ee0ef86
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/ee5ee0ef86 Pull-request: https://github.com/SerenityOS/serenity/pull/14499
1 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue