Compiling kaffe on win32

J. Flexa flexa at mondo.com.br
Sun Jan 3 12:51:49 PST 1999


A similar solution would be adding O_BINARY to the KOPEN call in the
function openJarFile in file /kaffe-snap/kaffe/kaffevm/jar.c

#ifdef __WIN32__
file->fd = KOPEN(name, O_RDONLY|O_BINARY, 0);
#else
file->fd = KOPEN(name, O_RDONLY, 0);
#endif

I could not reproduce the error using a class file instead of a jar file.

_____
Flexa





More information about the kaffe mailing list