jar.c

Charlie McDowell charlie at cse.ucsc.edu
Thu Jul 2 14:13:05 PDT 1998


On Tue, 30 Jun 1998, Charlie McDowell wrote:

> I'm trying to debug 10.1 on NT. Where can I find out the format of the
> classes.zip file? There appears to be some problem reading it. The
> ...

I found the problem. In openJarFile in jar.c, change the open

file->fp = open(name, O_RDONLY , 0)

to

file->fp = open(name, O_RDONLY | O_BINARY, 0)

Can the appropriate person please integrate this fix into the next
release? I've not submitted a patch before and am not familiar with the
procedure.

Charlie McDowell, Professor			(408) 459-4772 (w)
Computer Science Department     		(408) 427-2076 (h)
239 Applied Sciences                            (408) 459-4829 (fax)
Univ. of Calif., Santa Cruz, CA 95064      http://www.cse.ucsc.edu/~charlie




More information about the kaffe mailing list