Luigi Rizzo
7f8ecd2cd3
make the 'name' and 'value' fields in ast_variable const char *
...
This prevents modifying the strings in the stored variables,
and catched a few instances where this was actually done.
Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are
chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049
I may have missed some instances for modules that do not build here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-14 13:18:40 +00:00
..
2007-10-09 16:04:41 +00:00
2007-08-16 21:09:46 +00:00
2007-11-06 19:04:45 +00:00
2007-09-19 17:20:43 +00:00
2007-07-16 14:39:29 +00:00
2007-11-06 19:04:45 +00:00
2007-07-23 19:51:41 +00:00
2007-11-06 19:04:45 +00:00
2007-10-22 16:19:01 +00:00
2007-09-19 17:22:42 +00:00
2007-11-14 01:40:47 +00:00
2007-07-31 01:10:47 +00:00
2007-11-06 19:04:45 +00:00
2007-11-14 13:18:40 +00:00
2007-09-20 17:10:14 +00:00
2007-07-16 14:39:29 +00:00
2007-07-16 14:39:29 +00:00
2007-11-12 18:44:36 +00:00
2007-08-06 14:37:52 +00:00
2007-11-06 19:04:45 +00:00
2007-09-19 00:21:41 +00:00
2007-11-08 05:28:47 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-07-16 14:39:29 +00:00
2007-07-31 01:10:47 +00:00
2007-07-16 14:39:29 +00:00
2007-11-06 19:04:45 +00:00
2007-11-08 05:28:47 +00:00
2007-07-16 14:39:29 +00:00
2007-11-14 13:18:40 +00:00
2007-11-13 16:03:10 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-10-22 20:05:18 +00:00
2007-07-31 01:10:47 +00:00
2007-08-29 20:55:40 +00:00
2007-11-14 13:18:40 +00:00
2007-08-16 21:09:46 +00:00
2007-11-14 13:18:40 +00:00
2007-10-16 21:38:05 +00:00
2007-08-30 19:43:36 +00:00
2007-11-08 17:32:15 +00:00
2007-10-29 19:56:50 +00:00
This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
2007-11-01 22:26:51 +00:00
2007-11-06 19:04:45 +00:00
2007-08-06 21:59:32 +00:00
2007-07-31 01:10:47 +00:00
2007-07-16 14:39:29 +00:00
2007-07-23 19:51:41 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-09-19 19:51:47 +00:00
2007-07-31 01:10:47 +00:00
2007-11-06 19:04:45 +00:00
2007-07-31 01:10:47 +00:00
2007-07-31 01:10:47 +00:00
2007-07-31 01:10:47 +00:00
2007-07-23 19:51:41 +00:00
2007-11-14 13:18:40 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-11-06 19:04:45 +00:00
2007-10-15 13:12:51 +00:00
2007-07-16 14:39:29 +00:00
2007-10-09 16:04:41 +00:00
2007-09-17 22:59:36 +00:00
2005-11-29 18:24:39 +00:00
2005-11-29 18:24:39 +00:00
2007-03-27 23:03:09 +00:00
2005-11-29 18:24:39 +00:00