summaryrefslogtreecommitdiffabout
path: root/ui-shared.h
authorLars Hjemli <hjemli@gmail.com>2008-05-18 21:26:05 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-05-18 21:34:55 (UTC)
commitcdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8 (patch) (side-by-side diff)
tree021c4ef2e82de11ffb27e19ea4e5b7d60f7e0a20 /ui-shared.h
parentd402811bd2db21c7868411a279fd2d220f54c294 (diff)
downloadcgit-cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8.zip
cgit-cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8.tar.gz
cgit-cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8.tar.bz2
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 'ui-shared.h') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions