🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter L DeWolf Wed, 31 Jul 1985 18:19
bug in 1.0.3 hack.engrave.c
#906
Author: Peter L DeWolf
Date: Wed, 31 Jul 1985 18:19
24 lines
1207 bytes
When you use the "E-" command, certain non-VAX versions of hack will crash.
The problem is that a zero pointer is being follwed.  Here is a context
diff of the correction.

*** hack.engrave.c.orig	Wed Jul 24 11:10:10 1985
--- hack.engrave.c	Wed Jul 31 11:33:37 1985
***************
*** 141,147
  
  	if(otmp == &zeroobj)
  		otmp = 0;
! 	if(otmp->otyp == WAN_FIRE && otmp->spe) {
  		type = BURN;
  		otmp->spe--;
  	} else {

--- 141,147 -----
  
  	if(otmp == &zeroobj)
  		otmp = 0;
! 	if(otmp && otmp->otyp == WAN_FIRE && otmp->spe) {
  		type = BURN;
  		otmp->spe--;
  	} else {
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