[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 114747] Compile error in ksycoca.cpp on Solaris 9 (temp.
From: Dirk Mueller <mueller () kde ! org>
Date: 2005-11-29 18:01:18
Message-ID: 20051129180118.2333.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=114747
------- Additional Comments From mueller kde org 2005-11-29 19:01 -------
SVN commit 484188 by mueller:
conditionalize madvise() for less linux-compatible systems
CCBUG:114747
M +1 -1 configure.in.in
M +2 -1 ksycoca.cpp
--- branches/KDE/3.5/kdelibs/kdecore/configure.in.in #484187:484188
@ -83,7 +83,7 @
KDE_CHECK_HEADERS([netinet/in.h net/if.h],,,[$netincludes])
KDE_CHECK_HEADERS([sys/filio.h])
-AC_CHECK_FUNCS([usleep poll])
+AC_CHECK_FUNCS([usleep poll madvise])
dnl Check for struct addrinfo
AC_CHECK_TYPES([struct addrinfo],,,[$netincludes])
--- branches/KDE/3.5/kdelibs/kdecore/ksycoca.cpp #484187:484188
@ -144,8 +144,9 @
}
else
{
+#ifdef HAVE_MADVISE
(void) madvise((void*)m_sycoca_mmap, m_sycoca_size, MADV_WILLNEED);
-
+#endif
QByteArray b_array;
b_array.setRawData(m_sycoca_mmap, m_sycoca_size);
QBuffer *buffer = new QBuffer( b_array );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic