summary refs log tree commit diff
path: root/xdg.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-19 16:41:26 -0400
committerJune McEnroe <june@causal.agency>2021-05-19 16:42:39 -0400
commitf9e45b9d34a7ed8d2947b6ba3e0ba8f4dd8a5e0b (patch)
tree6c9b6b33ee555cbfdd1fe704f9542241f58bff91 /xdg.c
parentReplace freenode with tilde.chat (diff)
downloadlitterbox-f9e45b9d34a7ed8d2947b6ba3e0ba8f4dd8a5e0b.tar.gz
litterbox-f9e45b9d34a7ed8d2947b6ba3e0ba8f4dd8a5e0b.zip
Fix MOTD buffer reallocation 1.8
Woops. Not how that should be done.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
7a8d43dcfe0475a9d3498333ea686b8&follow=1'>cache.c: use xread()/xwrite() from libgitLars Hjemli These functions handles EINTR/EAGAIN errors during read/write operations, which is something cache.c didn't. While at it, fix a bug in print_slot() where errors during reading from the cache slot might go by unnoticed. Noticed-by: Jim Meyering <jim@meyering.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2008-05-18cache.c: make all io-related functions return errno on errorLars Hjemli We'll need proper return-values from these functions to make the cache behave correctly (which includes giving proper error messages). Noticed-by: Jim Meyering <jim@meyering.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2008-05-18cache.c: read(2) returns -1 on error, not 0