dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 607b2b6a47 fix another svn merge bug
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:45:08 +00:00
rizzo 3664249356 This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
rizzo f699b62383 normalize code in preparation to module changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19189 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 10:01:00 +00:00
russell 2161a93e6e remove a couple more unnecessary "out of memory" error messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18723 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 02:19:58 +00:00
russell b9253231be use ast_*alloc and don't create duplicated error messages.
... as stated in the coding guidelines.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 02:15:47 +00:00
russell a06d9b22bc Instead of using strncpy, use ast_copy_string. Also, in the case of copying a
constant string into a buffer that we know is big enough, don't use a length
limited copy at all, use strcpy.

... as stated in the coding guidelines.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18721 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 02:05:59 +00:00
russell 70f8d1c38b run the module through indent to fix the formatting issues that violate the
coding guidelines


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 02:01:39 +00:00
russell 18a8186d32 add back braces that were removed in a recent commit that leave a bunch of
nested statements in a block without branches, which is a violation of the
coding guidelines.

As a matter of fact, this module violates the coding guidelines in multiple
ways that including formatting and code issues.  In my opinion, this module
should not have been merged into the trunk in this form.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 01:51:47 +00:00
oej 46fa1d3472 Issue 6917 - some cleanups for res_config_pgsql.c (mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09 18:57:25 +00:00
kpfleming c70f89e9c8 a few cleanups from the last commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:16:34 +00:00
oej 6f3da594d1 Issue #6893 - Compiler warnings for PostgreSQL ARA driver
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17740 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 06:55:38 +00:00
oej 6816f315c5 Issue #5637 - Realtime driver for PostgreSQL (mguesdon)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17628 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:46:09 +00:00