[asterisk-bugs] [Asterisk 0013106]: [patch] Warning on unknown config directive #something

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 18 13:40:14 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13106 
====================================================================== 
Reported By:                flefoll
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13106
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 120173 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-18-2008 03:40 CDT
Last Modified:              07-18-2008 13:40 CDT
====================================================================== 
Summary:                    [patch] Warning on unknown config directive
#something
Description: 
config.c:process_text_line() generates a warning when it finds an unknown
directive "#something" while parsing config files (where "something" is not
include or exec).
But the warning says "Unknown directive 'something'", when "Unknown
directive '#something'" would be be explicit, and consistant with other
warnings.

I will propose a patch for branch 1.4 and trunk (applicable to branch
1.6.0 too).
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-18-08 13:40  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 132107

U   branches/1.4/main/config.c

------------------------------------------------------------------------
r132107 | tilghman | 2008-07-18 13:40:06 -0500 (Fri, 18 Jul 2008) | 6
lines

Textual clarification
(closes issue http://bugs.digium.com/view.php?id=13106)
 Reported by: flefoll
 Patches: 
       config.c.br14.120173.patch-unknown-directive uploaded by flefoll
(license 244)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=132107 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-18-08 13:40  svnbot         Note Added: 0090464                          
======================================================================




More information about the asterisk-bugs mailing list