Article View: gnu.epoch.misc
Article #2134bug
From: Chris Weikart
Date: Wed, 27 Feb 1991 22:30
Date: Wed, 27 Feb 1991 22:30
26 lines
1449 bytes
1449 bytes
Here's a patch for a bug with resource handling. Someone forgot to
replace fd.xfcursor with fd.xbcursor (when they copied the block above);
it segs when fd.xbcursor is null:
*** /proj/packages/epoch/epoch-3.2/src/screen.c Tue Oct 16 19:45:10 1990
--- ../epoch-3.2/src/screen.c Wed Feb 27 22:20:19 1991
***************
*** 429,435 ****
XQueryColor(xs->display,cmap,&xcf);
xcfflag = 0;
}
! if (xd.xfcursor && XParseColor(xs->display,cmap,xd.xbcursor,&xcb))
xcbflag = 1;
else
{
--- 429,435 ----
XQueryColor(xs->display,cmap,&xcf);
xcfflag = 0;
}
! if (xd.xbcursor && XParseColor(xs->display,cmap,xd.xbcursor,&xcb))
xcbflag = 1;
else
{
-----------------------------------
Chris Weikart (weikart@prl.dec.com)
Technical Details
Message-ID:
<1991Feb27.223054.19775@prl.dec.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!decprl!weikartShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,ed69b3955d63418,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-02-27 16:20:16 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!decprl!weikart From: weikart@prl.dec.com (Chris Weikart) Newsgroups: gnu.epoch.misc Subject: bug Message-ID: <1991Feb27.223054.19775@prl.dec.com> Date: 27 Feb 91 22:30:54 GMT Sender: news@prl.dec.com (USENET News System) Reply-To: weikart@prl.dec.com (Chris Weikart) Organization: Digital Equipment Corporation - Paris Research Laboratory Lines: 26