LogError ("Cannot reopen display %s for greet window\n", d->name);
exit (RESERVER_DISPLAY);
}
#ifdef USE_SYSLOG
openlog("xdm", LOG_ODELAY|LOG_PID, LOG_AUTHPRIV);
#endif
for (;;) {
#ifdef USE_PAM
# endif
#if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG_H)
# define USE_SYSLOG
# include <syslog.h>
# ifndef LOG_AUTHPRIV
# define LOG_AUTHPRIV LOG_AUTH
# ifndef LOG_PID
# define LOG_PID 0
#if defined(SVR4) && !defined(sun)
extern FILE *fdopen();
switch (pid)
{
case 0:
if (!nofork_session) {
CleanUpChild ();
(void) Signal (SIGPIPE, SIG_IGN);