aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/wayland.xml
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-03-29 10:16:17 +0200
committerSimon Ser <contact@emersion.fr>2022-04-11 09:21:53 +0000
commitff972f85b245d6564ec30c739a73437bcf7fac0e (patch)
tree45d825c22e861540d304746e9e4c8190068e3b11 /protocol/wayland.xml
parentshm: Close file descriptors not needed (diff)
downloadwayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar.gz
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar.bz2
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar.lz
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar.xz
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.tar.zst
wayland-ff972f85b245d6564ec30c739a73437bcf7fac0e.zip
os: drop unnecessary memcpy in wl_os_mremap_maymove
FreeBSD doesn't support mremap [1], so we have a fallback implementation based on munmap+mmap. We memcpy from the old memory region to the new one, however this is unnecessary because the new mapping references the same file as the old one. Use msync to make sure any pending write is flushed to the underlying file before we map the new region. [1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=59912 Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'protocol/wayland.xml')
0 files changed, 0 insertions, 0 deletions