Revision: 5989
          http://openser.svn.sourceforge.net/openser/?rev=5989&view=rev
Author:   mariuszbihlei
Date:     2010-02-19 15:09:39 +0000 (Fri, 19 Feb 2010)

Log Message:
-----------
modules:acc Fixed a bug that caused global log_facility (the one in kamailio) 
to be overwritten by acc's log_facility if the module was loaded.

This caused log messages to be printed in the acc's log facility (really 
annoying if the )
In kamailio executable log_facility  in the initialized Data segment (global 
variables) and elf's .dynsym section
, the dynamic symbol table, which contains all of the file's imported and 
exported symbols
08131cec D log_facility

Also the same can be said for acc's log facility
00007234 D log_facility

This caused that when dlopen() was called on acc.so, the .dynsym section to the 
concatenated, and caused the main's log_facility 
to resolve to wrong symbol.


Patch by Timo Reimann(timo.reimann AT 1und1.de)

Modified Paths:
--------------
    branches/1.5/modules/acc/acc.c
    branches/1.5/modules/acc/acc_mod.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to