🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Weikart Wed, 27 Feb 1991 22:30
bug
#2134
Author: Chris Weikart
Date: Wed, 27 Feb 1991 22:30
26 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads