From 399e5595fc68bfe4c491a5d75a2989a83ce13b03 Mon Sep 17 00:00:00 2001 From: veos-sxarr Date: Tue, 23 Apr 2019 13:19:45 +0900 Subject: [PATCH] Import hotfix-v2.0.3 --- libio/libioP.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libio/libioP.h b/libio/libioP.h index d8604ca2..66cf6c1e 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -24,6 +24,8 @@ This exception applies to code released by its copyright holders in files containing the exception. */ +/* Changes by NEC Corporation for the VE port, 2017-2019 */ + /* NOTE: libio is now exclusively used only by glibc since libstdc++ has its own implementation. As a result, functions that were implemented for C++ (like *sputn) may no longer have C++ semantics. This is of course only @@ -737,7 +739,8 @@ extern _IO_off64_t _IO_seekpos_unlocked (_IO_FILE *, _IO_off64_t, int) #endif /* _G_HAVE_MMAP */ -#if _G_HAVE_MMAP +#if 0 /* Not to use mmap() to allcate memory from heep which consists + of 64MB pages */ # ifdef _LIBC /* When using this code in the GNU libc we must not pollute the name space. */