Changeset View
Changeset View
Standalone View
Standalone View
head/x11/sddm/files/patch-src_greeter_UserModel.cpp
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
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 |