summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2025-03-14 23:49:37 +0100
committerSimon Ser <contact@emersion.fr>2025-03-14 23:49:37 +0100
commit285d0292914bf6361a1a32ce1561a6d3fb6ebeca (patch)
tree55e199a573433517eb7d3861b0039be91b0fd66f /meson.build
parent34e0aabc51074a2476d27148c4f755d558da3ec9 (diff)
comm: improve robustness
swaylock was performing some read() calls with a >1 size and didn't handle partial reads. Fix this by introducing two helpers, read_full() and write_full(), to read/write a complete buffer. read_comm_request() needs to make the difference between EOF at the start of a message vs. in the middle, so needs to return a tri-state.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions