Try to format the log message based on git recommendations, with first
line descriptive as subject for email, empty line and then the rest of
the message:
-
The email notifications and commit logs will be better formatted.
Then, have you tested with the new module loading flags? As far as I
know, RTLD_NOW | RTLD_GLOBAL are required for embedded interpreters. The
warning you tried to fix is from the core at startup, suggesting an
alternative to pass loading shared object file flags, but the flags
should be the old ones.
Cheers,
Daniel
On 1/20/13 4:37 PM, Konstantin Mosesov wrote:
Module: sip-router
Branch: master
Commit: 4cc713182c4f5b53a00a8d2d6d3a21afca589b77
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4cc7131…
Author: Konstantin Mosesov <ez(a)voipgroup.org.ua>
Committer: Konstantin Mosesov <ez(a)voipgroup.org.ua>
Date: Sun Jan 20 17:38:06 2013 +0200
app_python:
- fixed runtime warning: exports dlflags interface is deprecated and it will not be
supported in newer versions; consider using mod_register() instead
- python routines can be called in any routes.
---
modules/app_python/python_mod.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/app_python/python_mod.c b/modules/app_python/python_mod.c
index bfae63c..c5c60fc 100644
--- a/modules/app_python/python_mod.c
+++ b/modules/app_python/python_mod.c
@@ -66,15 +66,15 @@ static param_export_t params[]={
* Exported functions
*/
static cmd_export_t cmds[] = {
- { "python_exec", (cmd_function)python_exec1, 1, NULL, 0, REQUEST_ROUTE |
FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE },
- { "python_exec", (cmd_function)python_exec2, 2, NULL, 0, REQUEST_ROUTE |
FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE },
+ { "python_exec", (cmd_function)python_exec1, 1, NULL, 0, ANY_ROUTE },
+ { "python_exec", (cmd_function)python_exec2, 2, NULL, 0, ANY_ROUTE },
{ 0, 0, 0, 0, 0, 0 }
};
/** module exports */
struct module_exports exports = {
"app_python", /* module name */
- RTLD_NOW | RTLD_GLOBAL, /* dlopen flags */
+ DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* exported functions */
params, /* exported parameters */
0, /* exported statistics */
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev