Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-add--interactive: Improve behavior on bogus input
[gitweb.git]
/
builtin-upload-archive.c
diff --git
a/builtin-upload-archive.c
b/builtin-upload-archive.c
index e4156f8f48aeed307b1754bada173034dd81a311..48ae09e9b5268ce1f11cfba433680a147ca39f7e 100644
(file)
--- a/
builtin-upload-archive.c
+++ b/
builtin-upload-archive.c
@@
-91,7
+91,7
@@
static void process_input(int child_fd, int band)
char buf[16384];
ssize_t sz = read(child_fd, buf, sizeof(buf));
if (sz < 0) {
- if (errno != EINTR)
+ if (errno != E
AGAIN && errno != E
INTR)
error_clnt("read error: %s\n", strerror(errno));
return;
}