Summary: | KPixmapCache should remap shared memory when resizing cache | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Michael Pyne <mpyne> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | |
Priority: | NOR | ||
Version First Reported In: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Pyne
2008-06-06 22:35:38 UTC
SVN commit 1122509 by mpyne: Now that KPixmapCache is not our only resort, make it safer by removing the ability to schedule a cache resize for later. This is dangerous in regards to setting a higher cache size since it is possible for the new size to be used before the file and shared memory segment have actually been resized to match. Calling the method that resizes the cache also resizes the file/mmap as a side effect, so don't wait to do it. BUG:163398 M +4 -62 kpixmapcache.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1122509 |