Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fontconfig
fontconfig
Commits
144ca878
Commit
144ca878
authored
Oct 18, 2007
by
Keith Packard
Browse files
Comment about mmaping cache files was misleading.
parent
db6f19f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fccache.c
View file @
144ca878
...
...
@@ -454,7 +454,8 @@ FcDirCacheMapFd (int fd, struct stat *fd_stat, struct stat *dir_stat)
if
(
cache
)
return
cache
;
/*
* For small cache files, just read them into memory
* Lage cache files are mmap'ed, smaller cache files are read. This
* balances the system cost of mmap against per-process memory usage.
*/
if
(
fd_stat
->
st_size
>=
FC_CACHE_MIN_MMAP
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment