summaryrefslogtreecommitdiff
path: root/src/libstddjb/allreadwrite.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-01 12:06:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-01 12:06:52 +0000
commited49b72c0a31b6034026948851edf11cfa990fa0 (patch)
treeae33dbab4122f47187a72ef49834e107e316bdea /src/libstddjb/allreadwrite.c
parent334d7f09d8dec83b9399e2cc44490b3868cd0772 (diff)
downloadskalibs-ed49b72c0a31b6034026948851edf11cfa990fa0.tar.xz
Add allreadwritev and friends
Diffstat (limited to 'src/libstddjb/allreadwrite.c')
-rw-r--r--src/libstddjb/allreadwrite.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstddjb/allreadwrite.c b/src/libstddjb/allreadwrite.c
index 7e7867b..c15f6de 100644
--- a/src/libstddjb/allreadwrite.c
+++ b/src/libstddjb/allreadwrite.c
@@ -9,7 +9,6 @@ unsigned int allreadwrite (iofunc_t_ref op, int fd, register char *buf, register
while (len)
{
register int w = (*op)(fd, buf, len) ;
- if (!w) errno = EPIPE ;
if (w <= 0) break ;
written += w ;
buf += w ;