asterisk/utils
Russell Bryant 7da06e6cb8 Merged revisions 105116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105116 | russell | 2008-02-28 16:23:05 -0600 (Thu, 28 Feb 2008) | 8 lines

Fix a bug in the lock tracking code that was discovered by mmichelson.  The issue
is that if the lock history array was full, then the functions to mark a lock as
acquired or not would adjust the stats for whatever lock is at the end of the array,
which may not be itself.  So, do a sanity check to make sure that we're updating
lock info for the proper lock.

(This explains the bizarre stats on lock #63 in BE-396, thanks Mark!)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-28 22:39:26 +00:00
..
ael_main.c modify http://svn.digium.com/view/asterisk?view=rev&rev=93603 2007-12-20 09:55:05 +00:00
astcanary.c open(2) needs a mode argument when O_CREAT is specified. 2008-02-27 15:34:28 +00:00
astman.1 remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
astman.c Ignore some more unused generated events. 2008-02-21 05:21:39 +00:00
build-extensions-conf.lua Add pbx_lua as a method of doing extensions 2007-11-02 15:36:34 +00:00
check_expr.c Merged revisions 105116 via svnmerge from 2008-02-28 22:39:26 +00:00
clicompat.c simplify this file 2007-12-10 08:35:35 +00:00
conf2ael.c Remove extraneous copy 2008-02-15 15:45:33 +00:00
expr2.testinput In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too. 2007-07-05 18:15:22 +00:00
extconf.c Make ast_atomic_fetchadd_int_slow magically appear in extconf. 2008-01-08 15:26:50 +00:00
frame.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
frame.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
hashtest.c let's try this again... *all* compilation and linking in Asterisk should be done using the standard compilation rules, not manually created ones. changing hashtest.c to use these rules caused the compiler to notice a large number of coding guidelines violations, so those are fixed too. 2007-11-29 13:38:11 +00:00
hashtest2.c more header removal/normalization 2007-11-21 00:23:49 +00:00
Makefile Add a canary process, for high priority mode (asterisk -p) to ensure that if 2007-12-18 23:06:05 +00:00
muted.c Merged revisions 102323 via svnmerge from 2008-02-04 21:15:18 +00:00
smsq.c more header removal/normalization 2007-11-21 00:23:49 +00:00
stereorize.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
streamplayer.c Merged revisions 47331 via svnmerge from 2006-11-08 17:06:33 +00:00