mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
2d4534668d
This is still one minor release behind, but a big update relative to the previous version. Thanks to tijl@ for the patches, dbn@ for initial testing. PR: 228116 Submitted by: tijl
13 lines
464 B
C++
13 lines
464 B
C++
Call 'setpwent' to rewind to the beginning of the passwd database.
|
|
|
|
--- src/greeter/UserModel.cpp.orig 2017-12-05 16:00:16 UTC
|
|
+++ src/greeter/UserModel.cpp
|
|
@@ -55,6 +55,7 @@ namespace SDDM {
|
|
const QString defaultFace = QStringLiteral("file://%1/.face.icon").arg(facesDir);
|
|
|
|
struct passwd *current_pw;
|
|
+ setpwent();
|
|
while ((current_pw = getpwent()) != nullptr) {
|
|
|
|
// skip entries with uids smaller than minimum uid
|