[comp.windows.x] xdm xdm-config DisplayManager.servers parsing bug

idallen@watcgl.waterloo.edu (01/07/90)

From: "Ian! D. Allen [CGL]" <idallen>

			  X Window System Bug Report
			    xbugs@expo.lcs.mit.edu


VERSION:
    R4

CLIENT MACHINE and OPERATING SYSTEM:
    Any.  (VS3100 Ultrix 3.0 used here)

DISPLAY TYPE:
    Any.  (Xqvss used here)

WINDOW MANAGER:
    Any.

AREA:
    xdm

SYNOPSIS:
    xdm fails to parse "DisplayManager.servers: :0 local /Xserver :0"
    in the xdm-config file.

DESCRIPTION:
    Coding error uses uninitialized buffer instead of server resource string.

REPEAT BY:
    Put a line similar to "DisplayManager.servers: :0 local /Xserver :0"
    into your xdm-config and see that xdm doesn't spawn it.

SAMPLE FIX:
*** dm.c.ORIG	Tue Dec 19 19:01:32 1989
--- dm.c	Fri Jan  5 10:33:28 1990
***************
*** 170,176
      }
      else
      {
! 	ParseDisplay (lineBuf, acceptableTypes, NumTypes);
      }
  }
  

--- 171,177 -----
      }
      else
      {
! 	ParseDisplay (servers, acceptableTypes, NumTypes);
      }
  }