[asterisk-bugs] [Asterisk 0017472]: [patch] parser mangles #include
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jun 28 16:46:43 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17472
======================================================================
Reported By: seandarcy
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 17472
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.8
JIRA: SWP-1711
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-06-05 10:10 CDT
Last Modified: 2010-06-28 16:46 CDT
======================================================================
Summary: [patch] parser mangles #include
Description:
With an #include in extensions.conf:
[general]
static=yes
writeprotect=no
#include "exts/extensions-for-fax"
[globals]
TRUNK=DAHDI/g0
TRUNKMSD=1
.............
to a file that exists:
ls -l exts/extensions-for-fax
-rw-r--r--. 1 root root 6157 Nov 13 2009 exts/extensions-for-fax
the parser mangles the #include:
== Parsing '/etc/asterisk/extensions.conf': == Found
[Jun 5 10:41:42] ERROR[26393]: config.c:1098 process_text_line: The file
'exts/etensions--for-fax' was listed as a #include but it does not exist.
======================================================================
----------------------------------------------------------------------
(0123978) svnbot (reporter) - 2010-06-28 16:46
https://issues.asterisk.org/view.php?id=17472#c123978
----------------------------------------------------------------------
Repository: asterisk
Revision: 272924
_U branches/1.6.2/
U branches/1.6.2/main/config.c
------------------------------------------------------------------------
r272924 | tilghman | 2010-06-28 16:46:42 -0500 (Mon, 28 Jun 2010) | 26
lines
Merged revisions 272923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r272923 | tilghman | 2010-06-28 16:42:52 -0500 (Mon, 28 Jun 2010) | 19
lines
Merged revisions 272921-272922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r272921 | tilghman | 2010-06-28 16:29:27 -0500 (Mon, 28 Jun 2010) | 8
lines
Change the way that we read include files, to accommodate for changes
in GCC 4.4.
(closes issue https://issues.asterisk.org/view.php?id=17472)
Reported by: seandarcy
Patches:
config2.patch uploaded by nivan (license 1066)
Tested by: nivan
........
r272922 | tilghman | 2010-06-28 16:38:49 -0500 (Mon, 28 Jun 2010) | 2
lines
Also trim trailing blanks on #includes
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=272924
Issue History
Date Modified Username Field Change
======================================================================
2010-06-28 16:46 svnbot Checkin
2010-06-28 16:46 svnbot Note Added: 0123978
======================================================================
More information about the asterisk-bugs
mailing list