View | Details | Raw Unified | Return to bug 22362
Collapse All | Expand All

(-)xdm-1.1.9/greeter/greet.c (-3 lines)
Lines 489-497 Link Here
489
	LogError ("Cannot reopen display %s for greet window\n", d->name);
489
	LogError ("Cannot reopen display %s for greet window\n", d->name);
490
	exit (RESERVER_DISPLAY);
490
	exit (RESERVER_DISPLAY);
491
    }
491
    }
492
#ifdef USE_SYSLOG
493
    openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV);
494
#endif
495
492
496
    for (;;) {
493
    for (;;) {
497
#ifdef USE_PAM
494
#ifdef USE_PAM
(-)xdm-1.1.9/session.c (-1 / +16 lines)
Lines 1-4 Link Here
1
/*
1
/*/*
2
2
3
Copyright 1988, 1998  The Open Group
3
Copyright 1988, 1998  The Open Group
4
4
Lines 74-79 Link Here
74
# endif
74
# endif
75
#endif
75
#endif
76
76
77
#if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG_H)
78
# define USE_SYSLOG
79
# include <syslog.h>
80
# ifndef LOG_AUTHPRIV
81
#  define LOG_AUTHPRIV LOG_AUTH
82
# endif
83
# ifndef LOG_PID
84
#  define LOG_PID 0
85
# endif
86
#endif
87
77
static	int	runAndWait (char **args, char **environ);
88
static	int	runAndWait (char **args, char **environ);
78
89
79
#ifdef HAVE_GRP_H
90
#ifdef HAVE_GRP_H
Lines 319-324 Link Here
319
	}
330
	}
320
#endif
331
#endif
321
332
333
#ifdef USE_SYSLOG
334
    openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV); 
335
#endif
336
322
    /* tell the possibly dynamically loaded greeter function
337
    /* tell the possibly dynamically loaded greeter function
323
     * what data structure formats to expect.
338
     * what data structure formats to expect.
324
     * These version numbers are registered with The Open Group. */
339
     * These version numbers are registered with The Open Group. */

Return to bug 22362