Code

xread/xwrite: do not worry about EINTR at calling sites.
authorJunio C Hamano <junkio@cox.net>
Tue, 20 Dec 2005 00:18:28 +0000 (16:18 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Dec 2005 02:28:16 +0000 (18:28 -0800)
commit1c15afb9343bca82e687d008ec983a9110ac9c40
treeed760b10c0c124e7ec3c1934e4bb1291a8faf0a0
parent1fdfd05db2f6e6bacd8c8255992fa4a7f1756176
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>
apply.c
cat-file.c
copy.c
csum-file.c
git-compat-util.h
mktag.c
pkt-line.c
tar-tree.c
unpack-objects.c