projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
horrendous hack for TeX... Brian, please forgive me
[nestedvm.git]
/
src
/
org
/
ibex
/
nestedvm
/
UnixRuntime.java
diff --git
a/src/org/ibex/nestedvm/UnixRuntime.java
b/src/org/ibex/nestedvm/UnixRuntime.java
index
2b32965
..
dbe562d
100644
(file)
--- 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);
}