Module: sip-router
Branch: master
Commit: 11bdc4ad80f653c208f60c200725eb81f28757b2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=11bdc4a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Oct 9 23:49:25 2011 +0200
lib/kmi: use system malloc for MI operations
---
lib/kmi/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/kmi/Makefile b/lib/kmi/Makefile
index a20f006..f9bfb1a 100644
--- a/lib/kmi/Makefile
+++ b/lib/kmi/Makefile
@@ -4,8 +4,9 @@ NAME:=kmi
MAJOR_VER=1
MINOR_VER=0
BUGFIX_VER=0
-## uncomment next line for using system malloc with MI
-#DEFS+= -DMI_SYSTEM_MALLOC
+## comment next line for using internal pkg malloc with MI
+## - when MI_SYSTEM_MALLOC is defined, OS malloc is used
+DEFS+= -DMI_SYSTEM_MALLOC
LIBS=
include ../../Makefile.libs
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#165 - crash/segfault on shutdown since commit 7b3a6ec
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: Reopen if does not work with GIT commit 724a642d99becfe674a8af62b4d80a67a9097608 .
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=165
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: 724a642d99becfe674a8af62b4d80a67a9097608
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=724a642…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Oct 9 12:16:13 2011 +0200
core: move exit salutation before killing children
- syslog() is not re-entrant (see linux man page) and can cause troubles
- some that could be related is reported by Alex Hermann, FS#165
---
main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/main.c b/main.c
index e2ad1f3..f80f88c 100644
--- a/main.c
+++ b/main.c
@@ -699,9 +699,9 @@ void handle_sigs()
DBG("INT received, program terminates\n");
else
DBG("SIGTERM received, program terminates\n");
+ LOG(L_NOTICE, "Thank you for flying " NAME "!!!\n");
/* shutdown/kill all the children */
shutdown_children(SIGTERM, 1);
- LOG(L_NOTICE, "Thank you for flying " NAME "\n");
exit(0);
break;
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#124 - Add additional tm callbacks
User who did this - Timo Reimann (tr)
----------
Work on this issue is in progress. Stay tuned!
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=124#comment301
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hello,
I see that acc_cdr extension is using ftime() function. According to the
manual, this function is obsolete and should not be used, quote:
CONFORMING TO
4.2BSD, POSIX.1-2001. POSIX.1-2008 removes the
specification of
ftime().
This function is obsolete. Don't use it. If the time in
seconds suf-
fices, time(2) can be used; gettimeofday(2)
gives microseconds;
clock_gettime(2) gives nanoseconds but is not as widely available.
On freebsd looks like it needs libcompat for linking, otherwise throws
error: Undefined symbol "ftime"
I think it should be replaced with supported alternatives.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda