Kerala Cyber Warriors
KCW Uploader V1.1

Path : /usr/src/glibc/debian/patches/kfreebsd/
File Upload :
Current File : //usr/src/glibc/debian/patches/kfreebsd/local-memusage_no_mremap.diff

---
 malloc/memusage.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -674,6 +674,8 @@
   return result;
 }
 
+#include <_G_config.h>
+#ifdef _G_HAVE_MREMAP
 
 /* `mremap' replacement.  We do not have to keep track of the size since
    `munmap' will get it as a parameter.  */
@@ -739,6 +741,7 @@
   /* Return the pointer to the user buffer.  */
   return result;
 }
+#endif
 
 
 /* `munmap' replacement.  */

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ