summaryrefslogtreecommitdiff
blob: b244206afa18c92a17145c52838e38cf215af7ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- java/src/org/apache/xindice/core/query/XPathQueryResolver.java	2004-02-23 15:22:10.556196304 -0500
+++ java/src/org/apache/xindice/core/query/XPathQueryResolver.java	2004-02-23 15:23:18.094928856 -0500
@@ -499,7 +499,7 @@
       private Object evalFunction(int op, String owner, int pos) throws Exception {
          int idx = cmp.getFirstChildPos(pos);
          int id = cmp.getOp(idx);
-         int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
+         int endFunc = pos + cmp.getOpMap().elementAt(pos+1) - 1;
 
          List args = new ArrayList();
          int lp = idx+1;
--- start	2003-04-07 15:44:25.000000000 +0200
+++ start.new	2003-04-07 15:53:39.000000000 +0200
@@ -11,8 +11,8 @@
 echo "-----------"
 echo "XINDICE_HOME = " $XINDICE_HOME
 
-if test -f $XINDICE_HOME/config/xindice.pid; then
-   echo "A Xindice instance is already running with PID" `cat $XINDICE_HOME/config/xindice.pid`
+if test -f /var/run/xindice/xindice.pid; then
+   echo "A Xindice instance is already running with PID" `cat /var/run/xindice/xindice.pid`
    exit
 fi
 
@@ -42,7 +42,7 @@
 
 cd $XINDICE_HOME
 
-echo $$ > $XINDICE_HOME/config/xindice.pid
+echo $$ > /var/run/xindice/xindice.pid
 
 RESTART=1
 
@@ -73,4 +73,4 @@
 done
 
 trap 1 2 15
-rm $XINDICE_HOME/config/xindice.pid
+rm /var/run/xindice/xindice.pid