Question about mmap issues on FreeBSD/NetBSD
Alexandre Julliard
julliard at winehq.org
Fri Jul 30 12:45:58 CDT 2004
Yorick Hardy <yha at na.rau.ac.za> writes:
> Also in libs/wine/mmap.c line 119 the result of mincore is never tested,
> should it not be
>
> if ( (mincore( (caddr_t)addr + i, pagesize, &vec ) != -1) && (vec&1) )
No, the goal is to check if something is mapped there, we don't
actually care whether it's in core or swapped out.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list