Argh! Helps to attach the patch!
Index: xmlparse.c
===================================================================
RCS file: /home/cvs/apr-util/xml/expat/lib/xmlparse.c,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 xmlparse.c
--- xmlparse.c 2001/02/28 14:41:26 1.1
+++ xmlparse.c 2001/03/08 18:48:57
@@ -26,6 +26,7 @@
#endif /* ndef COMPILED_FROM_DSP */
#include <stddef.h>
+#include <string.h>
#ifdef XML_UNICODE
#define XML_ENCODE_MAX XML_UTF16_ENCODE_MAX
@@ -2752,8 +2753,8 @@
parser))
return XML_ERROR_NO_MEMORY;
if (attlistDeclHandler && declAttributeType) {
- if (*declAttributeType == '('
- || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
+ if ((*declAttributeType == '('
+ || *declAttributeType == 'N') && declAttributeType[1] == 'O') {
/* Enumerated or Notation type */
if (! poolAppendChar(&tempPool, ')')
|| ! poolAppendChar(&tempPool, '\0'))
@@ -2786,8 +2787,8 @@
&& !defineAttribute(declElementType, declAttributeId,
declAttributeIsCdata, 0, attVal, parser))
return XML_ERROR_NO_MEMORY;
if (attlistDeclHandler && declAttributeType) {
- if (*declAttributeType == '('
- || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
+ if ((*declAttributeType == '('
+ || *declAttributeType == 'N') && declAttributeType[1] == 'O') {
/* Enumerated or Notation type */
if (! poolAppendChar(&tempPool, ')')
|| ! poolAppendChar(&tempPool, '\0'))
On Thu, 8 Mar 2001 [EMAIL PROTECTED] wrote:
>
> Expat is generating a couple of warnings that are really bothering me, so
> here is a patch to fix all but three of them.
>
> The three that are remaining can be solved by just removing the RCSId
> variable from the .c files.
>
> Ryan
>
>
> _______________________________________________________________________________
> Ryan Bloom [EMAIL PROTECTED]
> 406 29th St.
> San Francisco, CA 94131
> -------------------------------------------------------------------------------
>
>
_______________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------