I have been hunting down the cause of these strange error
messages I was getting while running japhar on my solaris
box.
(they look like this)
mmap: Invalid argument
The problem code was here.
lib/libruntime/zextract.c:528
*buf = mmap(0, *length + difference, PROT_READ,
MAP_PRIVATE, zipf->fd,
offset);
if (*buf != MAP_FAILED)
{
*buf += difference;
return Z_OK;
}
perror("mmap");
Above the code was this dire warning
/*
* XXX This is an ugly hack, I don't know what I am doing, nor do I know
* XXX the .zip file format. No idea if the version and the +4 is
* XXX related, but it was on my system. :-) [pere 1998-05-14]
*/
This is the only place in the code where these warnings are getting produced
so I am thinking that they are related to the +4 hack.
Could someone provide me with some more info on why this might be
breaking?
Mo DeJong
dejong at cs.umn.edu
- Re: Could someone apply this patch to the jap... Chris Toshok
- Re: Could someone apply this patch to the... Moses DeJong
- Re: I need help getting japhar to run! Moses DeJong
- Is this a bug in japhar? Moses DeJong
- Re: I need help getting japhar to run! Chris Toshok
- Re: I need help getting japhar to run! Moses DeJong
- RE: I need help getting japhar to run... John Keiser
- Re: I need help getting japhar to run... Chris Toshok
- Re: I need help getting japhar t... Moses DeJong
- solution to problem with libtool... Moses DeJong
- Problem running japhar Moses DeJong
- Problem running japhar Moses DeJong
- Re: Problem running japhar Aaron M. Renn
- Could someone help me with this libtool problem? Moses DeJong
- Re: Could someone help me with this libtool p... Alexandre Oliva
- Re: I need help getting japhar to run! Petter Reinholdtsen
