[asterisk-dev] [Code Review] 3159: Allow nested #includes in extconfig.conf

Paul Belanger reviewboard at asterisk.org
Mon Jan 27 13:26:19 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3159/#review10703
-----------------------------------------------------------

Ship it!


+1 confirmed to fix issue and #include works as expected.

- Paul Belanger


On Jan. 27, 2014, 5:30 p.m., Russell Bryant wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3159/
> -----------------------------------------------------------
> 
> (Updated Jan. 27, 2014, 5:30 p.m.)
> 
> 
> Review request for Asterisk Developers and Paul Belanger.
> 
> 
> Bugs: ASTERISK-17837
>     https://issues.asterisk.org/jira/browse/ASTERISK-17837
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> extconfig.conf was hard-coded to not allow nested includes for some reason.  The code has been this way since a patch was merged for ASTERISK-3333 (revision 4889), which was a significant update to this code ("Merge config updates").
> 
> I can't figure out any good reason why this should be limited.  This patch just removes the limit and uses the default nesting depth limit.
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/main/config.c 406640 
> 
> Diff: https://reviewboard.asterisk.org/r/3159/diff/
> 
> 
> Testing
> -------
> 
> Created some nested includes in extconfig.conf.  Confirmed error before the patch and loading fine afterwards.
> 
> 
> Thanks,
> 
> Russell Bryant
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140127/7ece9a8d/attachment.html>


More information about the asterisk-dev mailing list