  | |  | cyclades cyzload mmap problems | cyclades cyzload mmap problems 2004-02-11 - By Arjan van de Ven
Back On Wed, 2004-02-11 at 22:37, nathan r. hruby wrote:
> window = (unsigned char*) basemapstart;
> if((long)window <= 0){
^^^^
that is buggy.
"negative " addresses are just fine. You have a 3Gb (or 4Gb with hugemem
kernel) address space, and the utililty doesn 't say it wants it 's memory
in a specific location. Yet it barfs if the kernel chosen location is
above 2Gb, and there is a whopping 1Gb there for the kernel to hand
out...
change the <= to == and it should be JustFine(tm).
|
|
 |