[Pacemaker] booth is the state of "started" on pacemaker before booth write ticket info in cib.

Jiaju Zhang jjzhang at suse.de
Tue Feb 19 02:24:09 EST 2013


Hi Yuichi,

On Tue, 2013-02-19 at 10:27 +0900, Yuichi SEINO wrote:
> Hi Xia,
> 
> I have a question about the following part. The write man explain that
> "errno" is set appropriately if the write return -1. So, if "rv" is
> equal to 0, strerror(errno) may not output the correct message. What
> do you think about it?

Good catch, I think we should differentiate the cases of rv == -1 or rv
== 0. Maybe setting errno to ENOSPC when rv == 0.

BTW, apart from that, does this patch fix your original issue?

Thanks,
Jiaju





More information about the Pacemaker mailing list