X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2FUnixRuntime.java;h=b4f651d2facc369cb5d807e9310c81826eaf8f3e;hb=8eb5962b879977e1a7975f9077c9ac86859deb48;hp=a4b1991dde398d7182d6c2b05b1d0ce1a9992c3d;hpb=615390526d6598c4124370fdd77b55894413cd1d;p=nestedvm.git diff --git a/src/org/ibex/nestedvm/UnixRuntime.java b/src/org/ibex/nestedvm/UnixRuntime.java index a4b1991..b4f651d 100644 --- a/src/org/ibex/nestedvm/UnixRuntime.java +++ b/src/org/ibex/nestedvm/UnixRuntime.java @@ -1051,6 +1051,7 @@ public abstract class UnixRuntime extends Runtime implements Cloneable { mps = newMPS; } + // FEATURE: We shouldn't need to special case the root dir, it should work in the MP array private Object fsop(int op, UnixRuntime r, String normalizedPath, int arg1, int arg2) throws ErrnoException { int pl = normalizedPath.length(); if(pl != 0) { @@ -1059,13 +1060,14 @@ public abstract class UnixRuntime extends Runtime implements Cloneable { for(int i=0;i