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.2@188904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Mark Michelson 16 years ago
parent 3dfd1a2620
commit 497d324d3d

Diff Content Not Available