Issue669

classification
Title [Bug: 21.5-b29] Calls to staticpro_nodump_1 and staticpro_1 need to be wrapped in #ifdef XEMACS_DEBUG
Type defect Module core code 21.5
Severity crash Platform N/A
Keywords Nosy List robert.royar
explanation
process
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder   Submitted 2010-02-05.13:28:40
Priority normal   Assigned To

Created on 2010-02-05.13:50:27 by robert.royar, last changed 2010-07-21.15:28:10 by stephen.

Messages
msg2083 [hidden] ([hidden]) Date: 2010-02-05.13:50:27
  Message-ID: <alpine.OSX.2.00L-p52.1002050825330.3974@teraqry.sevanohynk.bet>
This is a minor issue in that turning on DEBUG does not slow XEMACS 
performance so far as I can tell, but --without-debug should not break 
the build.

Tracker Message-ID: <1265375405.01.0.58000002673.issue668@xemacs.org>
the staticpro_* routines are defined in src/alloc.c and wrapped in an
#ifdef XEMACS_DEBUG.  If 21.5 is compiled configured with --without-
debug, the routines are never compiled into alloc.o.  However, numerous
files now call staticpro_1, and one calls staticpro_nodump_1.  Those
calls should be wrapped in an #ifdef, or perhaps stub routines could be
added to alloc.c for cases where XEMACS_DEBUG is not defined.
History
Date User Action Args
2010-07-21 15:28:10stephensetstatus: new
severity: crash
title: [Bug: 21.5-b29] Tracker number 668 Calls to staticpro_nodump_1 and staticpro_1 need to be wrapped in #ifdef XEMACS_DEBUG -> [Bug: 21.5-b29] Calls to staticpro_nodump_1 and staticpro_1 need to be wrapped in #ifdef XEMACS_DEBUG
module: + core code 21.5
priority: normal
platform: + N/A
type: defect
2010-02-05 13:50:27robert.royarcreate