[systemd-devel] [PATCH] util.c: ignore pollfd.revent for loop_read/loop_write

Lennart Poettering lennart at poettering.net
Mon Sep 30 19:38:04 PDT 2013


On Sun, 22.09.13 21:10, cee1 (fykcee1 at gmail.com) wrote:

> Let read()/write() report any error/EOF.
> ---
>  src/shared/util.c | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/src/shared/util.c b/src/shared/util.c
> index 2009553..3c08650 100644
> --- a/src/shared/util.c
> +++ b/src/shared/util.c
> @@ -2186,8 +2186,10 @@ ssize_t loop_read(int fd, void *buf, size_t
> nbytes, bool do_poll) {

Patch is corrupted. Your mailer probably did some line breaking here?
Can you resend?

Thanks,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list