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

Xia Li xli at suse.com
Sat Feb 16 03:53:22 EST 2013


Hi Yuichi

>>> On 2/5/2013 at 10:46 AM, in message
<CAMb0o5LthmeH+NQ-jExskdU+rhA2gkgy7YQt1TjWYajKQN1rHw at mail.gmail.com>, Yuichi
SEINO <seino.cluster2 at gmail.com> wrote: 
> Hi Xia, 
>  
> I watched your patch. Probably, I think that this patch has a problem 
> with the following check. Do you need if "rv" is equal to 0? The lseek 
> man describes that the lseek return -1 if the lseek error happens. 
> Otherwise, lseek return the number of bytes. So, 0 may not be error. 
> And, this patch includes several "rv <= 0". What do you think about 
> it? 

Sorry, this is my miss. Thanks for your check.   
I have modified it and recreated the patch.

Regards,
 Xia Li



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_booth_state_issue.patch
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130216/6d91aa6b/attachment-0003.ksh>


More information about the Pacemaker mailing list