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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 22 14:45:30 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15402 
====================================================================== 
Reported By:                snuffy
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15402
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Target Version:             1.6.2.11
Asterisk Version:           SVN 
JIRA:                       SWP-792 
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-07-22 14:45 CDT
====================================================================== 
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
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016688 [patch] Console documentation not loade...
====================================================================== 

---------------------------------------------------------------------- 
 (0124869) svnbot (reporter) - 2010-07-22 14:45
 https://issues.asterisk.org/view.php?id=15402#c124869 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 278708

U   trunk/main/xmldoc.c

------------------------------------------------------------------------
r278708 | jpeeler | 2010-07-22 14:45:29 -0500 (Thu, 22 Jul 2010) | 16
lines

Add method for finding XML doc files for systems that don't support
GLOB_BRACE.

In particular, Solaris and perhaps others do not support the above
mentioned
GNU extension. In this case the paths are simply expanded without the
braces
and the calls to glob are made separately.

Note: I could not explain memory allocation failures that were being
reported
from within libxml itself when making calls to glob without using
GLOB_NOCHECK.
This is the only reason why that flag is being used.

(closes issue https://issues.asterisk.org/view.php?id=15402)
Reported by: snuffy
Patches: 
      bug_xmlpatt-v3.diff uploaded by snuffy (license 35),
      modified by me

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-22 14:45 svnbot         Checkin                                      
2010-07-22 14:45 svnbot         Note Added: 0124869                          
======================================================================




More information about the asterisk-bugs mailing list