[PATCH] Use posix_madvise instead of madvise in kdelibs

Adriaan de Groot groot at kde.org
Mon Jun 8 14:10:44 BST 2009

On Sunday 07 June 2009, Michael Pyne wrote:
> Please let me know if there are any objections (especially relating to
> BSDs, since I don't run those).

7-STABLE has both madvise and posix_madvise with the same signature:

int posix_madvise(void *addr, size_t len, int behav);

I imagine this is also true for 8-CURRENT (not released yet). The 6-LEGACY 
platform is not supported by the KDE-FreeBSD team. The fix looks ok from a 
FreeBSD and OpenSolaris perspective (it's good that hajma is filing bugs, so 
we finally start pushiing fixes into KDE SVN again from the OSOL repo).

These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090608/f2729ef2/attachment.sig>

More information about the kde-core-devel mailing list