From: Mark Michelson Date: Fri, 17 Apr 2009 13:30:56 +0000 (+0000) Subject: Blocked revisions 188901 via svnmerge X-Git-Tag: 1.6.1.0-rc5~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57accc7db459a2220e64e3ed88e08542d400d0e9;p=thirdparty%2Fasterisk.git Blocked revisions 188901 via svnmerge ........ r188901 | mmichelson | 2009-04-17 08:29:33 -0500 (Fri, 17 Apr 2009) | 28 lines Several fixes to the extenpatternmatchnew logic. 1. Differentiate between literal characters in an extension and characters that should be treated as a pattern match. Prior to these fixes, an extension such as NNN would be treated as a pattern, rather than a literal string of N's. 2. Fixed the logic used when matching an extension with a bracketed expression, such as 2[5-7]6. 3. Removed all areas of code that were executed when NOT_NOW was #defined. The code in these areas had the potential to crash, for one thing, and the actual intent of these blocks seemed counterproductive. 4. Fixed many many coding guidelines problems I encountered while looking through the corresponding code. 5. Added failure cases and warning messages for when duplicate extensions are encountered. 6. Miscellaneous fixes to incorrect or redundant statements. (closes issue #14615) Reported by: steinwej Tested by: mmichelson Review: http://reviewboard.digium.com/r/194/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@188903 65c4cc65-6c06-0410-ace0-fbb531ad65f3 ---