[Home]

Summary:ASTERISK-10166: Missing #ifdef PTRACING
Reporter:Faidon Liambotis (paravoid)Labels:
Date Opened:2007-08-25 01:20:48Date Closed:2007-08-30 10:22:05
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 1.4-h323-add-missing-ifdef-ptrace.diff
( 1) trunk-h323-add-missing-ifdef-ptrace.diff
Description:chan_h323 includes guards to protect from symbols exported only by PTRACE libopenh323 builds (i.e. by those that aren't built with NOTRACE=1).

I tried dlopening chan_h323 with RTLD_NOW for a totally unrelated bug and got some  unresolved symbols.

Apparently, operator << of PayloadTypes is only included on PTRACE builds.

Attached patches that add those missing #ifdefs for both branches/1.4 and trunk.
Comments:By: Digium Subversion (svnbot) 2007-08-30 10:20:16

Repository: asterisk
Revision: 81383

------------------------------------------------------------------------
r81383 | russell | 2007-08-30 10:20:15 -0500 (Thu, 30 Aug 2007) | 3 lines

Add missing checks for the PTRACING define.
(closes issue ASTERISK-10166, paravoid)

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-08-30 10:22:05

Repository: asterisk
Revision: 81384

------------------------------------------------------------------------
r81384 | russell | 2007-08-30 10:22:04 -0500 (Thu, 30 Aug 2007) | 11 lines

Merged revisions 81383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81383 | russell | 2007-08-30 10:38:29 -0500 (Thu, 30 Aug 2007) | 3 lines

Add missing checks for the PTRACING define.
(closes issue ASTERISK-10166, paravoid)

........

------------------------------------------------------------------------