about summary refs log tree commit diff
path: root/cmd.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-05-18 23:26:05 +0200
committerLars Hjemli <hjemli@gmail.com>2008-05-18 23:34:55 +0200
commitcdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8 (patch)
tree021c4ef2e82de11ffb27e19ea4e5b7d60f7e0a20 /cmd.c
parentcache.c: make all io-related functions return errno on error (diff)
downloadcgit-pink-cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8.tar.gz
cgit-pink-cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8.zip
cache.c: use xread()/xwrite() from libgit
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>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions
ommit/txt/books.txt?id=9515a41c2d0b7cc4355a9d87e5ecfec2e87d95fb&follow=1'>Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe