diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-26 17:37:31 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-26 17:37:31 +0930 |
commit | 26c1958c322be3ac4dfec9ba2c41c5202bd03709 (patch) | |
tree | 0889c707db86e00f557618f3917b93e1a0472014 /os | |
parent | 5fe57787faa2ea4f2f57b25455d200bf924206d6 (diff) | |
parent | 29586101dc11d498b212510f8dedbfeca7f8c859 (diff) |
Merge branch 'master' into mpx
Diffstat (limited to 'os')
-rw-r--r-- | os/connection.c | 14 | ||||
-rw-r--r-- | os/utils.c | 11 |
2 files changed, 8 insertions, 17 deletions
diff --git a/os/connection.c b/os/connection.c index 316e347f2..38521e686 100644 --- a/os/connection.c +++ b/os/connection.c @@ -1324,15 +1324,17 @@ _X_EXPORT void ListenOnOpenFD(int fd) { ListenTransFds[ListenTransCount] = fd; FD_SET(fd, &WellKnownConnections); + FD_SET(fd, &AllSockets); - /* It is always local - if (!_XSERVTransIsLocal(ciptr)) { - // DefineSelf (fd); - } - */ - /* Increment the count */ ListenTransCount++; + + /* This *might* be needed, but it seems to be working fine without it... */ + //ResetAuthorization(); + //ResetHosts(display); +#ifdef XDMCP + //XdmcpReset(); +#endif } #endif diff --git a/os/utils.c b/os/utils.c index 90342c64a..e885666ee 100644 --- a/os/utils.c +++ b/os/utils.c @@ -660,17 +660,6 @@ VerifyDisplayName(const char *d) } /* - * This function is responsible for doing initalisation of any global - * variables at an very early point of server startup (even before - * |ProcessCommandLine()|. - */ -void InitGlobals(void) -{ - ddxInitGlobals(); -} - - -/* * This function parses the command line. Handles device-independent fields * and allows ddx to handle additional fields. It is not allowed to modify * argc or any of the strings pointed to by argv. |