You forgot one instance of hints (the one that caused the problem I was
talking about)
patch attached

Ely

On 7/10/07, Loïc Minier <[EMAIL PROTECTED]> wrote:

On Tue, Jul 10, 2007, E L wrote:
> Where can I download that package from?
> Can't find it in sid.

For some minutes, it's still in incoming.debian.org, and tomorrow it
will be in the archive.

--
Loïc Minier

--- gdm-2.18.3/daemon/misc.c	2007-07-03 11:08:01.000000000 +0300
+++ /tmp/misc.c	2007-07-11 16:53:47.725256548 +0300
@@ -1074,6 +1074,11 @@
 
 	last_time = time (NULL);
 #ifdef ENABLE_IPV6
+        
+        memset (&hints, 0, sizeof (hints));
+        hints.ai_socktype = SOCK_DGRAM;
+        hints.ai_flags = AI_CANONNAME;
+        
 	hostbuf[BUFSIZ-1] = '\0';
 	if (gethostname (hostbuf, BUFSIZ-1) != 0) {
 		gdm_debug ("%s: Could not get server hostname", "gdm_peek_local_address_list");

Reply via email to