From 7bcba8b2d16d058b8f842ecba6882ec47d0068d3 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 10 Jan 2004 00:12:18 +0000 Subject: [PATCH] still had bus error :( --- io/iob_prefetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/io/iob_prefetch.c b/io/iob_prefetch.c index 5955148..eaa1508 100644 --- a/io/iob_prefetch.c +++ b/io/iob_prefetch.c @@ -13,6 +13,7 @@ void iob_prefetch(io_batch* b,uint64 bytes) { if (e->type==FROMFILE) { char* c,* d; uint64 before=bytes; + if (e->nn; if (e->n>=1000000) { long l=e->offset&4095; d=c=mmap(0,bytes,PROT_READ,MAP_SHARED,e->fd,(e->offset|4095)+1);