[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 45/87: Revert "libpipe: fix calls to pipe_send with no data"
From: |
Samuel Thibault |
Subject: |
[hurd] 45/87: Revert "libpipe: fix calls to pipe_send with no data" |
Date: |
Sun, 09 Nov 2014 11:05:03 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 6ad2a33e7fc5cda05eefdec789f4a2033645ebbe
Author: Richard Braun <address@hidden>
Date: Sat Jun 28 14:48:24 2014 +0200
Revert "libpipe: fix calls to pipe_send with no data"
This reverts commit 6f856c62613ffc82bf3572a372d2851638c2fb90.
As the comment right above the change says, "this [sending control
packets] depends on the fact that we always write a data packet".
---
libpipe/pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpipe/pipe.c b/libpipe/pipe.c
index 56c339d..f9300e7 100644
--- a/libpipe/pipe.c
+++ b/libpipe/pipe.c
@@ -358,7 +358,7 @@ pipe_send (struct pipe *pipe, int noblock, void *source,
}
}
- if (!err && data_len > 0)
+ if (!err)
err = (*pipe->class->write)(pipe->queue, source, data, data_len, amount);
if (!err)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 60/87: trans/hello{, -mt}: properly escape contents in trivfs_append_args, (continued)
- [hurd] 60/87: trans/hello{, -mt}: properly escape contents in trivfs_append_args, Samuel Thibault, 2014/11/09
- [hurd] 66/87: exec: redzone page zero before loading anything, Samuel Thibault, 2014/11/09
- [hurd] 52/87: libdiskfs: fix reference counting of peropen objects, Samuel Thibault, 2014/11/09
- [hurd] 62/87: hurd: add symbolic name for the mtab translator, Samuel Thibault, 2014/11/09
- [hurd] 70/87: procfs: generalize the translator linkage code, Samuel Thibault, 2014/11/09
- [hurd] 56/87: hurd: fix semantic of file_get_children, Samuel Thibault, 2014/11/09
- [hurd] 47/87: Make the ncursesw driver of the console client compile properly, Samuel Thibault, 2014/11/09
- [hurd] 65/87: exec: add proper argument parsing, add --device-master-port, Samuel Thibault, 2014/11/09
- [hurd] 18/87: hurd: fix type of optimal_transfer_size, Samuel Thibault, 2014/11/09
- [hurd] 50/87: sutils: add urandom device target to MAKEDEV, Samuel Thibault, 2014/11/09
- [hurd] 45/87: Revert "libpipe: fix calls to pipe_send with no data",
Samuel Thibault <=
- [hurd] 57/87: include: detect use-after-free errors using the reference counts, Samuel Thibault, 2014/11/09
- [hurd] 73/87: libdiskfs: remove code counting cache misses, Samuel Thibault, 2014/11/09
- [hurd] 82/87: Fix dead name notification in static binaries, Samuel Thibault, 2014/11/09
- [hurd] 68/87: procfs: implement /proc/filesystems, Samuel Thibault, 2014/11/09
- [hurd] 71/87: procfs: reorganize rootdir.c, Samuel Thibault, 2014/11/09
- [hurd] 78/87: Fix proc_getprocinfo calls, Samuel Thibault, 2014/11/09
- [hurd] 80/87: Fix actual procinfo_t type, Samuel Thibault, 2014/11/09
- [hurd] 83/87: Use a mere weak attribute instead of a weak alias, Samuel Thibault, 2014/11/09
- [hurd] 17/87: include: use unsigned literal in combination with binary not, Samuel Thibault, 2014/11/09
- [hurd] 79/87: Fix proc_getprocinfo calls, Samuel Thibault, 2014/11/09