blob: ef0cea949b212618a6140be478725eef0f57c279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- ./kdm/kfrontend/genkdmconf.c.orig 2010-07-06 10:54:31.000000000 +0400
+++ ./kdm/kfrontend/genkdmconf.c 2010-07-30 22:23:28.920432715 +0400
@@ -45,9 +45,6 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/param.h>
-#ifdef BSD
-# include <utmp.h>
-#endif
#define WANT_CONF_GEN
#include <config.ci>
@@ -1857,7 +1854,7 @@
#else
# ifdef BSD
delstr(file, "\n"
-"exec sessreg -a -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n") |
+"exec sessreg -a -l $DISPLAY -x */Xservers $USER\n" ) |
# endif
#endif /* _AIX */
delstr(file, "\n"
@@ -1906,7 +1903,7 @@
#else
# ifdef BSD
delstr(file, "\n"
-"exec sessreg -d -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n") |
+"exec sessreg -d -l $DISPLAY -x */Xservers $USER\n" ) |
# endif
#endif /* _AIX */
delstr(file, "\n"
|