[jruby-joni] 233/279: Fixes #15

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:27:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit fec066a3e36a42ac2b782f73479632dbb88d2f0a
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Mon Mar 16 20:46:01 2015 +0100

    Fixes #15
---
 src/org/joni/StackMachine.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/org/joni/StackMachine.java b/src/org/joni/StackMachine.java
index 7b16780..8a80781 100644
--- a/src/org/joni/StackMachine.java
+++ b/src/org/joni/StackMachine.java
@@ -502,6 +502,7 @@ abstract class StackMachine extends Matcher implements StackType {
                         int endp;
                         isNull = 1;
                         while (k < stk) {
+                        	e = stack[k++];
                             if (e.type == MEM_START) {
                                 if (e.getMemEnd() == INVALID_INDEX) {
                                     isNull = 0;
@@ -519,8 +520,6 @@ abstract class StackMachine extends Matcher implements StackType {
                                     isNull = -1; /* empty, but position changed */
                                 }
                             }
-                            k++;
-                            e = stack[k]; // !!
                         }
                         break;
                     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list