author | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Dec 2005 00:18:28 +0000 (16:18 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Dec 2005 02:28:16 +0000 (18:28 -0800) | ||
commit | 1c15afb9343bca82e687d008ec983a9110ac9c40 | |
tree | ed760b10c0c124e7ec3c1934e4bb1291a8faf0a0 | tree | snapshot |
parent | 1fdfd05db2f6e6bacd8c8255992fa4a7f1756176 | commit | diff |
xread/xwrite: do not worry about EINTR at calling sites.
We had errno==EINTR check after read(2)/write(2) sprinkled all
over the places, always doing continue. Consolidate them into
xread()/xwrite() wrapper routines.
Credits for suggestion goes to HPA -- bugs are mine.
Signed-off-by: Junio C Hamano <junkio@cox.net>
We had errno==EINTR check after read(2)/write(2) sprinkled all
over the places, always doing continue. Consolidate them into
xread()/xwrite() wrapper routines.
Credits for suggestion goes to HPA -- bugs are mine.
Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c | diff | blob | history | |
cat-file.c | diff | blob | history | |
copy.c | diff | blob | history | |
csum-file.c | diff | blob | history | |
git-compat-util.h | diff | blob | history | |
mktag.c | diff | blob | history | |
pkt-line.c | diff | blob | history | |
tar-tree.c | diff | blob | history | |
unpack-objects.c | diff | blob | history |