[asterisk-bugs] [Asterisk 0015402]: [patch] Cannot find XML documentation under non linux platforms

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 11 22:23:36 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15402 
====================================================================== 
Reported By:                snuffy
Assigned To:                eliel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15402
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 202567 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-25 18:26 CDT
Last Modified:              2010-01-11 22:23 CST
====================================================================== 
Summary:                    [patch] Cannot find XML documentation under non
linux platforms
Description: 
After installing * on opensolaris and starting up get XML Errors.
This is due to the use of non-POSIX standard arguments to the glob()
function.
Attached is a first draft patch
====================================================================== 

---------------------------------------------------------------------- 
 (0116495) crjw (reporter) - 2010-01-11 22:23
 https://issues.asterisk.org/view.php?id=15402#c116495 
---------------------------------------------------------------------- 
I just tested this patch on Solaris nevada build
https://issues.asterisk.org/view.php?id=129 with the latest
trunk.
The patch works.  It would be nice to see it committed soon.

However, there are still errors on the asterisk console due to the
thirdparty directories not being found:
[Jan 12 04:01:36] ERROR[17379]: xmldoc.c:1936
ast_xmldoc_load_documentation: Could not open XML documentation at
'/apps/asterisk/lib/documentation/thirdparty/*-en_US.xml'
[Jan 12 04:01:36] ERROR[17379]: xmldoc.c:1936
ast_xmldoc_load_documentation: Could not open XML documentation at
'/apps/asterisk/lib/documentation/thirdparty/*-en_??.xml'

The errors can be fixed by removing the GLOB_NOCHECK flag from
"MY_GLOB_FLAGS" in include/asterisk/compat.h.  I am suspicious that the
GLOB_NOCHECK flag is not required anywhere in the asterisk code and it
could safely be removed... I tried removing it and I have not come across
any problems yet. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-11 22:23 crjw           Note Added: 0116495                          
======================================================================




More information about the asterisk-bugs mailing list