bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Bug Report - Systems with GTK but no DISPLAY env var


From: Michael Petch
Subject: [Bug-gnubg] Bug Report - Systems with GTK but no DISPLAY env var
Date: Fri, 09 Apr 2004 13:35:46 -0600

Howdy All,

In my quest to clean up the MAC OSX build I pulled out the latest
sources (.14-2-devel) and have this Patch. The problem is that if you
run gnubg with GTK enabled but DISPLAY unset the command line version of
gnubg segfaults. 

The problem is that fX is set to whether GTK is available (If USE_GTK is
true). There is a section that is #if/#else'd with a check for the
environment variable that does not occur if you use GTK. The check
should occur if GTK is in use or not.

This problem exists on Linux/OSX (Wasn't MAC specific). After fixing
that - checks for fX had to be made in a  couple of other places. See
attached patch



-- 
Mike Petch
CApp::Sysware Consulting Ltd.
Suite 1002,1140-15th Ave SW.
Calgary, Alberta, Canada.
T2R 1K6.
(403)804-5700.

Attachment: gnubg.c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]