Conditionally check for EINTR (STR #33)

pull/193/head
Michael R Sweet 19 years ago
parent cc5890089d
commit fe9a9b251c
  1. 5
      CHANGES
  2. 4
      doc/relnotes.html
  3. 2
      makesrcdist
  4. 4
      mxml-file.c
  5. 2
      mxml.spec

@ -1,10 +1,13 @@
CHANGES - 12/02/2005
CHANGES - 12/07/2005
--------------------
CHANGES IN Mini-XML 2.3
- Added two exceptions to the LGPL to support static
linking of applications against Mini-XML.
- Added conditional check for EINTR error code for
certain Windows compilers that do not define it (STR
#33)
- The mxmldoc program now generates correct HTML 4.0
output (previously it generated invalid XHTML...)
- The mxmldoc program now supports "@deprecated@,

@ -10,6 +10,10 @@
<li>Added two exceptions to the LGPL to support static
linking of applications against Mini-XML.</li>
<li>Added conditional check for EINTR error code for
certain Windows compilers that do not define it (STR
#33)</li>
<li>The mxmldoc program now generates correct HTML 4.0
output (previously it generated invalid XHTML...)</li>

@ -31,7 +31,7 @@ cd mxml-$version
echo "Removing Subversion files and directories..."
rm -f makesrcdist TODO
rm -f makesrcdist TODO mvalidate.c
rm -rf www
cd ..

@ -930,7 +930,11 @@ mxml_fd_read(mxml_fdbuf_t *buf) /* I - File descriptor buffer */
*/
while ((bytes = read(buf->fd, buf->buffer, sizeof(buf->buffer))) < 0)
#ifdef EINTR
if (errno != EAGAIN && errno != EINTR)
#else
if (errno != EAGAIN)
#endif /* EINTR */
return (-1);
if (bytes == 0)

@ -18,7 +18,7 @@
Summary: Miniature XML development library
Name: mxml
Version: 2.2.3
Version: 2.3
Release: 1
Copyright: GPL
Group: Development/Libraries

Loading…
Cancel
Save