diff options
author | Joe Orton <jorton@apache.org> | 2023-01-23 16:47:04 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-01-23 16:47:04 +0000 |
commit | df09991b6cf2fb932eed00bbf159b2dfb9fb7c24 (patch) | |
tree | 3f340434a297aa3e7ed05737738222cfa77d6298 /memcache | |
parent | 95ecd122ce03751dd7b05750b9537c0021a706ec (diff) | |
download | apr-df09991b6cf2fb932eed00bbf159b2dfb9fb7c24.tar.gz |
* shmem/unix/shm.c (apr_shm_open):
Use ftruncate() directly for the shm_open() path avoiding
unnecessary complexity - and lseek() - of using apr_file_t wrapper.
Also catch mmap() errors.
PR: 66435
Github: closes #38
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906947 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memcache')
0 files changed, 0 insertions, 0 deletions