From: adam Date: Fri, 14 May 2004 08:13:42 +0000 (-0700) Subject: horrendous hack for TeX... Brian, please forgive me X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=1891ef5fe0ab1a3d699aeacb897471ff93ce2bc8 horrendous hack for TeX... Brian, please forgive me darcs-hash:20040514081342-5007d-9cc74c5b9b297c7986664c43d154827dc63ac0a7.gz --- diff --git a/src/org/ibex/nestedvm/UnixRuntime.java b/src/org/ibex/nestedvm/UnixRuntime.java index 2b32965..dbe562d 100644 --- a/src/org/ibex/nestedvm/UnixRuntime.java +++ b/src/org/ibex/nestedvm/UnixRuntime.java @@ -926,6 +926,8 @@ public abstract class UnixRuntime extends Runtime implements Cloneable { public FD open(UnixRuntime r, String path, int flags, int mode) throws ErrnoException { + // FIXME: horrendous, ugly hack needed by TeX... sorry Brian... + path = path.trim(); final File f = hostFile(path); return r.hostFSOpen(f,flags,mode,this); }