[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH 19/29] Test for error status



On Thu, Nov 25, 2010 at 11:55:23AM +0100, Zdenek Kabelac wrote:
> +		if (write(child_pipe[1], &status, sizeof(status)) < 0)
> +			log_sys_error("write", "child_pipe");

Still incomplete - add FIXME to use a proper wrapper around write().

> +		if (close(child_pipe[1]))
> +			log_sys_error("close", "child_pipe");

Ack.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]