diff options
Diffstat (limited to 'sysutils/accountsservice/files/patch-src_daemon.c')
| -rw-r--r-- | sysutils/accountsservice/files/patch-src_daemon.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/accountsservice/files/patch-src_daemon.c b/sysutils/accountsservice/files/patch-src_daemon.c index f211d4d46..995df3de9 100644 --- a/sysutils/accountsservice/files/patch-src_daemon.c +++ b/sysutils/accountsservice/files/patch-src_daemon.c @@ -1,5 +1,5 @@ --- src/daemon.c.orig 2012-08-16 19:03:51.000000000 +0000 -+++ src/daemon.c 2012-09-19 22:31:43.000000000 +0000 ++++ src/daemon.c 2012-10-08 09:18:14.000000000 +0000 @@ -68,6 +68,7 @@ "nobody4", "noaccess", @@ -16,14 +16,13 @@ NULL }; -@@ -304,7 +306,12 @@ +@@ -304,7 +306,11 @@ /* Every iteration */ fp = *state; +#ifdef HAVE_FGETPWENT pwent = fgetpwent (fp); +#else -+ setpwent(); + pwent = getpwent (); +#endif if (pwent != NULL) { |
