Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 09:26:13 +0000
From:      "Mack Lobell" <macklobell@hotmail.com>
To:        ports@FreeBSD.org
Subject:   hping broken in current
Message-ID:  <F75MSaQqe9HE1zcWcwG00009fef@hotmail.com>

next in thread | raw e-mail | index | archive | help
The hping port is broken in 5.0-current. This has been corrected in stable 
but not in current:

--- memlockall.orig     Tue Apr  3 12:10:44 2001
+++ memlockall.c        Tue Nov 19 15:12:28 2002
@@ -13,7 +13,7 @@

int memlockall(void)
{
-#ifdef _POSIX_MEMLOCK
+#if _POSIX_MEMLOCK == 1
        return ( mlockall(MCL_CURRENT|MCL_FUTURE) );
#endif
        return (-1);


--- memunlockall.orig   Tue Apr  3 12:10:44 2001
+++ memunlockall.c      Tue Nov 19 15:12:21 2002
@@ -13,7 +13,7 @@

int memunlockall(void)
{
-#ifdef _POSIX_MEMLOCK
+#if _POSIX_MEMLOCK == 1
        return ( munlockall() );
#endif
        return(-1);







_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F75MSaQqe9HE1zcWcwG00009fef>