🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.misc
Article #3

Minor fix for DBUG package

#3
From: Fred Fish
Date: Tue, 18 Jul 1989 03:40
49 lines
1689 bytes
This is a minor patch to dbug.h for the DBUG package recently
posted to comp.sources.misc.  It keeps lint happy.  Note that
the type of _db_framep_ is somewhat ambiguous, since this is
a chain of pointers, all of which point to another pointer of
the same type.  However, since the type conversion is hidden
in dbug.c, lint never sees it now.

*** dbug.h.old	Mon Jul 17 20:29:14 1989
--- dbug.h	Mon Jul 17 20:29:22 1989
***************
*** 39,45
   *
   *  SCCS ID
   *
!  *	@(#)dbug.h	1.12 4/2/89
   *
   *  DESCRIPTION
   *

--- 39,45 -----
   *
   *  SCCS ID
   *
!  *	@(#)dbug.h	1.13 7/17/89
   *
   *  DESCRIPTION
   *
***************
*** 129,135
  # else
  #    define DBUG_ENTER(a) \
  	auto char *_db_func_; auto char *_db_file_; auto int _db_level_; \
! 	auto char *_db_framep_; \
  	_db_enter_ (a,__FILE__,__LINE__,&_db_func_,&_db_file_,&_db_level_, \
  		    &_db_framep_)
  #    define DBUG_LEAVE \

--- 129,135 -----
  # else
  #    define DBUG_ENTER(a) \
  	auto char *_db_func_; auto char *_db_file_; auto int _db_level_; \
! 	auto char **_db_framep_; \
  	_db_enter_ (a,__FILE__,__LINE__,&_db_func_,&_db_file_,&_db_level_, \
  		    &_db_framep_)
  #    define DBUG_LEAVE \
-- 
# Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284,  USA
# 1-602-491-0048           asuvax!{nud,mcdphx}!estinc!fnf
Technical Details
Message-ID: <206@estinc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!asuvax!mcdphx!estinc!fnf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!asuvax!mcdphx!estinc!fnf
From: fnf@estinc.UUCP (Fred Fish)
Newsgroups: comp.bugs.misc
Subject: Minor fix for DBUG package
Message-ID: <206@estinc.UUCP>
Date: 18 Jul 89 03:40:55 GMT
Organization: Enhanced Software Technologies Inc., Tempe, Az
Lines: 49