openbsd-ports/x11/kde/base3/patches/patch-kdm_backend_client_c
2004-09-18 09:36:42 +00:00

17 lines
557 B
Plaintext

$OpenBSD: patch-kdm_backend_client_c,v 1.2 2004/09/18 09:36:43 espie Exp $
--- kdm/backend/client.c.orig Mon Aug 9 11:02:39 2004
+++ kdm/backend/client.c Mon Sep 6 13:47:42 2004
@@ -1242,10 +1242,12 @@ StartClient ()
removeAuth = 1;
chownCtrl (&td->ctrl, curuid, -1);
endpwent ();
+#if defined(USESHADOW)
#if !defined(USE_PAM) && !defined(AIXV3)
# ifndef QNX4 /* QNX4 doesn't need endspent() to end shadow passwd ops */
endspent ();
# endif
+#endif
#endif
ClearCloseOnFork (mstrtalk.pipe->wfd);
switch (pid = Fork ()) {