[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:52:16 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: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-06-25 18:26 CDT
Last Modified: 2010-07-22 14:52 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...
======================================================================
----------------------------------------------------------------------
(0124871) svnbot (reporter) - 2010-07-22 14:52
https://issues.asterisk.org/view.php?id=15402#c124871
----------------------------------------------------------------------
Repository: asterisk
Revision: 278709
_U branches/1.6.2/
U branches/1.6.2/main/xmldoc.c
------------------------------------------------------------------------
r278709 | jpeeler | 2010-07-22 14:52:15 -0500 (Thu, 22 Jul 2010) | 23
lines
Merged revisions 278708 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r278708 | jpeeler | 2010-07-22 14:45:30 -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=278709
Issue History
Date Modified Username Field Change
======================================================================
2010-07-22 14:52 svnbot Checkin
2010-07-22 14:52 svnbot Note Added: 0124871
======================================================================
More information about the asterisk-bugs
mailing list