On Mon, 28 Jun 2004 10:01:23 +0200, Francesco Potorti` wrote: > As far as I can tell, the line > the value PAGESIZE from <limits.h> indicates the number of bytes per > page. > > should be changed to > the value PAGE_SIZE from <sys/user.h> indicates the number of bytes > per page.
The upstream changelog lists for 2.12 | mlock.2 | mtk | Reworded text around PAGESIZE, noting also that | sysconf(_SC_PAGESIZE) can be used. and now the manpages reads | On POSIX systems on which | .BR mlock () | and | .BR munlock () | are available, | .B _POSIX_MEMLOCK_RANGE | is defined in <unistd.h> and the number of bytes in a page | can be determined from the constant | .B PAGESIZE | (if defined) in <limits.h> or by calling | .IR sysconf(_SC_PAGESIZE) . So I guess this bug is now fixed-upstream and could be closed once 2.12 is uploaded. HTH, Flo
signature.asc
Description: Digital signature