Fix mxmlSaveString-related bugs reported by Robert...

Bump version to 1.1.1.
web
Michael R Sweet 21 years ago
parent a93015657e
commit d918e36dc1
  1. 12
      CHANGES
  2. 4
      README
  3. 2
      documentation.html
  4. 6
      index.html
  5. 7
      mxml-file.c

@ -1,6 +1,16 @@
README - 07/20/2003
README - 07/21/2003
-------------------
CHANGES IN Mini-XML 1.1.1
- The private mxml_add_ch() function did not update the
start-of-buffer pointer which could cause a crash when
using mxmlSaveString().
- The private mxml_write_ws() function called putc()
instead of using the proper callback which could cause
a crash when using mxmlSaveString().
CHANGES IN Mini-XML 1.1
- The mxmlLoadFile() function now uses dynamically

@ -1,11 +1,11 @@
README - 07/20/2003
README - 07/21/2003
-------------------
INTRODUCTION
This README file describes the Mini-XML library version
1.1.
1.1.1.
Mini-XML is a small XML parsing library that you can use to
read XML and XML-like data files in your application without

@ -11,7 +11,7 @@
<body>
<h1>Contents</h1>
<ul>
<li><a href="#_enumerations">Enumeration</a></li>
<li><a href="#_enumerations">Enumerations</a></li>
<li><a href="#_functions">Functions</a></li>
<li><a href="#_structures">Structures</a></li>
<li><a href="#_types">Types</a></li>

@ -16,11 +16,11 @@ href="../index.html">Back to Home Page</a>&nbsp;]</p>
<h1 class="title" align="center">Mini-XML Home Page</h1>
<p class="title" align="center">Current Release: v1.1, July 20, 2003<br/>
<p class="title" align="center">Current Release: v1.1.1, July 21, 2003<br/>
[&nbsp;<a
href="mxml-1.1.tar.gz">Download&nbsp;Source&nbsp;(.tar.gz&nbsp;70k)</a>
href="mxml-1.1.1.tar.gz">Download&nbsp;Source&nbsp;(.tar.gz&nbsp;70k)</a>
| <a
href="mxml-1.1-1.i386.rpm">Download&nbsp;Linux&nbsp;RPM&nbsp;(.i386.rpm&nbsp;64k)</a>
href="mxml-1.1.1-1.i386.rpm">Download&nbsp;Linux&nbsp;RPM&nbsp;(.i386.rpm&nbsp;64k)</a>
| <a href="CHANGES">Change&nbsp;Log</a> | <a
href="documentation.html">Documentation</a> | <a
href="http://freshmeat.net/projects/mxml">Rate/Make&nbsp;Comments</A>&nbsp;]</p>

@ -1,5 +1,5 @@
/*
* "$Id: mxml-file.c,v 1.15 2003/07/20 13:41:17 mike Exp $"
* "$Id: mxml-file.c,v 1.16 2003/07/21 12:41:47 mike Exp $"
*
* File loading code for mini-XML, a small XML-like file parsing library.
*
@ -228,6 +228,7 @@ mxml_add_char(int ch, /* I - Character to add */
return (-1);
}
*buffer = newbuffer;
*bufptr = newbuffer + (*bufptr - *buffer);
}
@ -1355,7 +1356,7 @@ mxml_write_ws(mxml_node_t *node, /* I - Current node */
if (cb && (ch = (*cb)(node, ws)) != 0)
{
if ((*putc)(ch, p) < 0)
if ((*putc_cb)(ch, p) < 0)
return (-1);
else if (ch == '\n')
col = 0;
@ -1373,5 +1374,5 @@ mxml_write_ws(mxml_node_t *node, /* I - Current node */
/*
* End of "$Id: mxml-file.c,v 1.15 2003/07/20 13:41:17 mike Exp $".
* End of "$Id: mxml-file.c,v 1.16 2003/07/21 12:41:47 mike Exp $".
*/

Loading…
Cancel
Save