mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
patch from Florent Guiliani to fix build on SCO OpenServer daniel
* testModule.c: patch from Florent Guiliani to fix build on SCO OpenServer daniel svn path=/trunk/; revision=3698
This commit is contained in:
parent
3066351275
commit
70e20add80
@ -1,3 +1,8 @@
|
||||
Mon Feb 25 16:42:19 CET 2008 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* testModule.c: patch from Florent Guiliani to fix build on
|
||||
SCO OpenServer
|
||||
|
||||
Thu Feb 21 22:46:08 CET 2008 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* debugXML.c: made one of the changes suggested by Brian Krahmer
|
||||
|
@ -231,6 +231,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-tree.html#xmlStringLenGetNodeList">xmlStringLenGetNodeList</a><br />
|
||||
</dd><dt>floor</dt><dd><a href="html/libxml-xpathInternals.html#xmlXPathFloorFunction">xmlXPathFloorFunction</a><br />
|
||||
</dd><dt>flow</dt><dd><a href="html/libxml-parserInternals.html#xmlScanName">xmlScanName</a><br />
|
||||
</dd><dt>flushed</dt><dd><a href="html/libxml-xmlwriter.html#xmlTextWriterEndDocument">xmlTextWriterEndDocument</a><br />
|
||||
</dd><dt>flushes</dt><dd><a href="html/libxml-xmlIO.html#xmlOutputBufferClose">xmlOutputBufferClose</a><br />
|
||||
<a href="html/libxml-xmlIO.html#xmlOutputBufferFlush">xmlOutputBufferFlush</a><br />
|
||||
</dd><dt>follow</dt><dd><a href="html/libxml-xmlautomata.html#xmlAutomataNewNegTrans">xmlAutomataNewNegTrans</a><br />
|
||||
|
@ -2478,6 +2478,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlerror.html#XML_SCHEMAV_WRONGELEM">XML_SCHEMAV_WRONGELEM</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_INVALID_DEC">XML_TREE_INVALID_DEC</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_INVALID_HEX">XML_TREE_INVALID_HEX</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_NOT_UTF8">XML_TREE_NOT_UTF8</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_UNTERMINATED_ENTITY">XML_TREE_UNTERMINATED_ENTITY</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_WAR_CATALOG_PI">XML_WAR_CATALOG_PI</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_WAR_ENTITY_REDEFINED">XML_WAR_ENTITY_REDEFINED</a><br />
|
||||
|
@ -1280,6 +1280,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-tree.html#XML_TEXT_NODE">XML_TEXT_NODE</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_INVALID_DEC">XML_TREE_INVALID_DEC</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_INVALID_HEX">XML_TREE_INVALID_HEX</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_NOT_UTF8">XML_TREE_NOT_UTF8</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_TREE_UNTERMINATED_ENTITY">XML_TREE_UNTERMINATED_ENTITY</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_WAR_CATALOG_PI">XML_WAR_CATALOG_PI</a><br />
|
||||
<a href="html/libxml-xmlerror.html#XML_WAR_ENTITY_REDEFINED">XML_WAR_ENTITY_REDEFINED</a><br />
|
||||
|
@ -442,6 +442,7 @@ void <a href="#xmlResetError">xmlResetError</a> (<a href="libxml2-xmlerror.htm
|
||||
<a name="XML_TREE_INVALID_HEX">XML_TREE_INVALID_HEX</a> = 1300
|
||||
<a name="XML_TREE_INVALID_DEC">XML_TREE_INVALID_DEC</a> = 1301 /* 1301 */
|
||||
<a name="XML_TREE_UNTERMINATED_ENTITY">XML_TREE_UNTERMINATED_ENTITY</a> = 1302 /* 1302 */
|
||||
<a name="XML_TREE_NOT_UTF8">XML_TREE_NOT_UTF8</a> = 1303 /* 1303 */
|
||||
<a name="XML_SAVE_NOT_UTF8">XML_SAVE_NOT_UTF8</a> = 1400
|
||||
<a name="XML_SAVE_CHAR_INVALID">XML_SAVE_CHAR_INVALID</a> = 1401 /* 1401 */
|
||||
<a name="XML_SAVE_NO_DOCTYPE">XML_SAVE_NO_DOCTYPE</a> = 1402 /* 1402 */
|
||||
|
@ -209,8 +209,8 @@ The content of this structure is not made public by the API.
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>writer</tt></i>:</span></td><td>the <a href="libxml2-xmlwriter.html#xmlTextWriterPtr">xmlTextWriterPtr</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the bytes written (may be 0 because of buffering) or -1 in case of error</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlTextWriterEndDocument"/>xmlTextWriterEndDocument ()</h3><pre class="programlisting">int xmlTextWriterEndDocument (<a href="libxml2-xmlwriter.html#xmlTextWriterPtr">xmlTextWriterPtr</a> writer)<br/>
|
||||
</pre><p>End an xml document. All open elements are closed</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>writer</tt></i>:</span></td><td>the <a href="libxml2-xmlwriter.html#xmlTextWriterPtr">xmlTextWriterPtr</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the bytes written (may be 0 because of buffering) or -1 in case of error</td></tr></tbody></table></div></div>
|
||||
</pre><p>End an xml document. All open elements are closed, and the content is flushed to the output.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>writer</tt></i>:</span></td><td>the <a href="libxml2-xmlwriter.html#xmlTextWriterPtr">xmlTextWriterPtr</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the bytes written or -1 in case of error</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlTextWriterEndElement"/>xmlTextWriterEndElement ()</h3><pre class="programlisting">int xmlTextWriterEndElement (<a href="libxml2-xmlwriter.html#xmlTextWriterPtr">xmlTextWriterPtr</a> writer)<br/>
|
||||
</pre><p>End the current xml element.</p>
|
||||
|
@ -1373,6 +1373,7 @@
|
||||
<function name="XML_TEXT_NODE" link="libxml2-tree.html#XML_TEXT_NODE"/>
|
||||
<function name="XML_TREE_INVALID_DEC" link="libxml2-xmlerror.html#XML_TREE_INVALID_DEC"/>
|
||||
<function name="XML_TREE_INVALID_HEX" link="libxml2-xmlerror.html#XML_TREE_INVALID_HEX"/>
|
||||
<function name="XML_TREE_NOT_UTF8" link="libxml2-xmlerror.html#XML_TREE_NOT_UTF8"/>
|
||||
<function name="XML_TREE_UNTERMINATED_ENTITY" link="libxml2-xmlerror.html#XML_TREE_UNTERMINATED_ENTITY"/>
|
||||
<function name="XML_WAR_CATALOG_PI" link="libxml2-xmlerror.html#XML_WAR_CATALOG_PI"/>
|
||||
<function name="XML_WAR_ENTITY_REDEFINED" link="libxml2-xmlerror.html#XML_WAR_ENTITY_REDEFINED"/>
|
||||
|
@ -2593,6 +2593,7 @@
|
||||
<exports symbol='XML_CHECK_NO_PREV' type='enum'/>
|
||||
<exports symbol='XML_RNGP_VALUE_NO_CONTENT' type='enum'/>
|
||||
<exports symbol='XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD' type='enum'/>
|
||||
<exports symbol='XML_TREE_NOT_UTF8' type='enum'/>
|
||||
<exports symbol='XML_IO_EAFNOSUPPORT' type='enum'/>
|
||||
<exports symbol='XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1' type='enum'/>
|
||||
<exports symbol='XML_CATALOG_NOT_CATALOG' type='enum'/>
|
||||
@ -5614,6 +5615,7 @@ crash if you try to modify the tree)'/>
|
||||
<enum name='XML_TEXT_NODE' file='tree' value='3' type='xmlElementType'/>
|
||||
<enum name='XML_TREE_INVALID_DEC' file='xmlerror' value='1301' type='xmlParserErrors' info='1301'/>
|
||||
<enum name='XML_TREE_INVALID_HEX' file='xmlerror' value='1300' type='xmlParserErrors'/>
|
||||
<enum name='XML_TREE_NOT_UTF8' file='xmlerror' value='1303' type='xmlParserErrors' info='1303'/>
|
||||
<enum name='XML_TREE_UNTERMINATED_ENTITY' file='xmlerror' value='1302' type='xmlParserErrors' info='1302'/>
|
||||
<enum name='XML_WAR_CATALOG_PI' file='xmlerror' value='93' type='xmlParserErrors' info='93'/>
|
||||
<enum name='XML_WAR_ENTITY_REDEFINED' file='xmlerror' value='107' type='xmlParserErrors' info='107'/>
|
||||
@ -14866,8 +14868,8 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlTextWriterEndDocument' file='xmlwriter' module='xmlwriter'>
|
||||
<cond>defined(LIBXML_WRITER_ENABLED)</cond>
|
||||
<info>End an xml document. All open elements are closed</info>
|
||||
<return type='int' info='the bytes written (may be 0 because of buffering) or -1 in case of error'/>
|
||||
<info>End an xml document. All open elements are closed, and the content is flushed to the output.</info>
|
||||
<return type='int' info='the bytes written or -1 in case of error'/>
|
||||
<arg name='writer' type='xmlTextWriterPtr' info='the xmlTextWriterPtr'/>
|
||||
</function>
|
||||
<function name='xmlTextWriterEndElement' file='xmlwriter' module='xmlwriter'>
|
||||
|
@ -1274,6 +1274,7 @@
|
||||
<reference name='XML_TEXT_NODE' href='html/libxml-tree.html#XML_TEXT_NODE'/>
|
||||
<reference name='XML_TREE_INVALID_DEC' href='html/libxml-xmlerror.html#XML_TREE_INVALID_DEC'/>
|
||||
<reference name='XML_TREE_INVALID_HEX' href='html/libxml-xmlerror.html#XML_TREE_INVALID_HEX'/>
|
||||
<reference name='XML_TREE_NOT_UTF8' href='html/libxml-xmlerror.html#XML_TREE_NOT_UTF8'/>
|
||||
<reference name='XML_TREE_UNTERMINATED_ENTITY' href='html/libxml-xmlerror.html#XML_TREE_UNTERMINATED_ENTITY'/>
|
||||
<reference name='XML_WAR_CATALOG_PI' href='html/libxml-xmlerror.html#XML_WAR_CATALOG_PI'/>
|
||||
<reference name='XML_WAR_ENTITY_REDEFINED' href='html/libxml-xmlerror.html#XML_WAR_ENTITY_REDEFINED'/>
|
||||
@ -4785,6 +4786,7 @@
|
||||
<ref name='XML_TEXT_NODE'/>
|
||||
<ref name='XML_TREE_INVALID_DEC'/>
|
||||
<ref name='XML_TREE_INVALID_HEX'/>
|
||||
<ref name='XML_TREE_NOT_UTF8'/>
|
||||
<ref name='XML_TREE_UNTERMINATED_ENTITY'/>
|
||||
<ref name='XML_WAR_CATALOG_PI'/>
|
||||
<ref name='XML_WAR_ENTITY_REDEFINED'/>
|
||||
@ -13019,6 +13021,7 @@
|
||||
<ref name='XML_SCHEMAV_WRONGELEM'/>
|
||||
<ref name='XML_TREE_INVALID_DEC'/>
|
||||
<ref name='XML_TREE_INVALID_HEX'/>
|
||||
<ref name='XML_TREE_NOT_UTF8'/>
|
||||
<ref name='XML_TREE_UNTERMINATED_ENTITY'/>
|
||||
<ref name='XML_WAR_CATALOG_PI'/>
|
||||
<ref name='XML_WAR_ENTITY_REDEFINED'/>
|
||||
@ -22442,6 +22445,9 @@
|
||||
<word name='flow'>
|
||||
<ref name='xmlScanName'/>
|
||||
</word>
|
||||
<word name='flushed'>
|
||||
<ref name='xmlTextWriterEndDocument'/>
|
||||
</word>
|
||||
<word name='flushes'>
|
||||
<ref name='xmlOutputBufferClose'/>
|
||||
<ref name='xmlOutputBufferFlush'/>
|
||||
|
@ -29,6 +29,15 @@
|
||||
#define MODULE_PATH ".libs"
|
||||
#endif
|
||||
|
||||
/* Used for SCO Openserver*/
|
||||
#ifndef PATH_MAX
|
||||
#ifdef _POSIX_PATH_MAX
|
||||
#define PATH_MAX _POSIX_PATH_MAX
|
||||
#else
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef int (*hello_world_t)(void);
|
||||
|
||||
int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user