LibC: Don't clear static storage during endpwent

This commit is contained in:
Tim Schumacher 2022-07-05 23:48:00 +02:00 committed by Linus Groh
parent d903af3614
commit ee5ee0ef86

View file

@ -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)