PATCH: Fix crash with --nolisten unix
Jim Gettys
jg at freedesktop.org
Mon Sep 5 07:48:21 PDT 2005
If you have DECnet installed, it should compile....
There may even be a Linux implementation, IIRC.
- Jim
On Mon, 2005-09-05 at 15:43 +0200, Waldo Bastian wrote:
> Patch below fixes a crash here when running the X server with "--nolisten
> unix". Don't ask ;-)
>
> Btw, how is this line between #ifdef DNETCONN supposed to compile?
>
> Cheers,
> Waldo
>
> Index: access.c
> ===================================================================
> RCS file: /cvs/xorg/xc/programs/Xserver/os/access.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 access.c
> --- access.c 3 Jul 2005 08:53:51 -0000 1.12
> +++ access.c 5 Sep 2005 13:29:21 -0000
> @@ -972,6 +972,8 @@ DefineSelf (int fd)
> return;
> }
> for (ifr = ifap; ifr != NULL; ifr = ifr->ifa_next) {
> + if (!ifr->ifa_addr)
> + continue;
> #ifdef DNETCONN
> if (ifr->ifa_addr.sa_family == AF_DECnet)
> continue;
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list