public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Re: xalan failures
       [not found] <005e01c130ca$c8fc75c0$5be6b4cd@cygnus.com>
@ 2001-08-31 12:20 ` Alexandre Petit-Bianco
  0 siblings, 0 replies; only message in thread
From: Alexandre Petit-Bianco @ 2001-08-31 12:20 UTC (permalink / raw)
  To: Anthony Green; +Cc: rhug-rhats

Anthony Green writes:

> The second one is more serious....
> 
> Wed Aug 29 00:26:38 2001  Anthony Green  <green@redhat.com>
> 
>         * upstream/src/org/apache/xpath/DOM2Helper.java (isNodeAfter):
>         Break the code just to avoid a compiler failure.
>         * upstream/src/org/apache/xpath/NodeSet.java: Ditto.
> 
> The compiler is just SEGV'ing. 

This has been fixed with this patch:

  http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01495.html

I started the build yesterday evening and it took a while to
complete, but it did, with the appended library patch.

I'll start a build tonight and measure the time. We need to let people
know what to expect when building this thing.

./A

2001-08-31  Alexandre Petit-Bianco  <apbianco@redhat.com>

	Revert:
	Wed Aug 29 00:26:38 2001  Anthony Green  <green@redhat.com>
	* upstream/src/org/apache/xpath/DOM2Helper.java (isNodeAfter):
	Break the code just to avoid a compiler failure.
	* upstream/src/org/apache/xpath/NodeSet.java: Ditto.

Index: DOM2Helper.java
===================================================================
RCS file: /cvs/rhug/rhug/xalan/upstream/src/org/apache/xpath/DOM2Helper.java,v
retrieving revision 1.2
diff -u -p -r1.2 DOM2Helper.java
--- DOM2Helper.java     2001/08/29 13:54:26     1.2
+++ DOM2Helper.java     2001/08/31 19:16:32
@@ -285,9 +285,7 @@ public class DOM2Helper extends DOMHelpe
 
       // isNodeAfter will return true if node is after countedNode 
       // in document order. The base isNodeAfter is sloooow (relatively).
-      // RHUG FIXE: break this in order to avoid a compiler failure.
-      // return DOMHelper.isNodeAfter(node1, node2);
-      return 0;
+      return DOMHelper.isNodeAfter(node1, node2);
     }
   }
 
Index: NodeSet.java
===================================================================
RCS file: /cvs/rhug/rhug/xalan/upstream/src/org/apache/xpath/NodeSet.java,v
retrieving revision 1.2
diff -u -p -r1.2 NodeSet.java
--- NodeSet.java        2001/08/29 13:54:26     1.2
+++ NodeSet.java        2001/08/31 19:16:33
@@ -628,9 +628,7 @@ public class NodeSet
         break;
       }
 
-      // FIXME RHUG - break this code just to compile it
-      // if (!DOM2Helper.isNodeAfter(node, child))
-      if (false)
+      if (!DOM2Helper.isNodeAfter(node, child))
       {
         insertElementAt(node, i + 1);
 
@@ -699,9 +697,7 @@ public class NodeSet
           break;
         }
 
-       // FIXME RHUG - break this code just to compile it
-       // if (!DOM2Helper.isNodeAfter(node, child))
-       if (false)
+       if (!DOM2Helper.isNodeAfter(node, child))
         {
           break;
         }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-31 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <005e01c130ca$c8fc75c0$5be6b4cd@cygnus.com>
2001-08-31 12:20 ` xalan failures Alexandre Petit-Bianco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).