diff options
Diffstat (limited to 'x11/sddm/files/patch-src_greeter_UserModel.cpp')
-rw-r--r-- | x11/sddm/files/patch-src_greeter_UserModel.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/sddm/files/patch-src_greeter_UserModel.cpp b/x11/sddm/files/patch-src_greeter_UserModel.cpp new file mode 100644 index 000000000000..421c946818f5 --- /dev/null +++ b/x11/sddm/files/patch-src_greeter_UserModel.cpp @@ -0,0 +1,12 @@ +Call 'setpwent' to rewind to the beginning of the passwd database. + +--- src/greeter/UserModel.cpp.orig 2016-07-10 21:26:13 UTC ++++ src/greeter/UserModel.cpp +@@ -55,6 +55,7 @@ namespace SDDM { + const QString defaultFace = QStringLiteral("%1/.face.icon").arg(facesDir); + + struct passwd *current_pw; ++ setpwent(); + while ((current_pw = getpwent()) != nullptr) { + + // skip entries with uids smaller than minimum uid |