[1783] in testers

home help back first fref pref prev next nref lref last post

Followup up ez coredump if can't open display

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Aug 6 17:57:08 1991

From: epeisach@ATHENA.MIT.EDU
Date: Tue, 6 Aug 91 17:57:19 -0400
To: testers@ATHENA.MIT.EDU



In xim.c:

Old code read something like:

    if ((!xDisplay) && ((xDisplay = XOpenDisplay(xhost)) == NULL))  {
        printf("Could not open the display; this program will not run without a window system.\n");
        return FALSE;

New code reads:

    xDisplay=SetupDisplay(self, host);
    

But never checks if xDisplay is NULL and returns FALSE


home help back first fref pref prev next nref lref last post