On 2/23/2011 2:17 PM, Russell Bryant wrote:
> On Wed, Feb 23, 2011 at 1:53 AM, Fabio M. Di Nitto <[email protected]> 
> wrote:
>>> I hope the change from:
>>> read (fd, &memb_ring_id->seq, sizeof (unsigned long long));
>>> to
>>> read (fd, &memb_ring_id->seq, sizeof (uint64_t));
>>>
>>> won't cause any problems.
>>
>> On i686 i noticed the file being 8 bytes (unsigned long long)... I
>> wonder if you shutdown corosync, update packages with the fix, then
>> restart.. is it going to read garbage from the file?
> 
> but sizeof (uint64_t) is also 8 bytes.

ok... i clearly need more coffee :))) ok either x86_64 or i686 had a 4
bytes file and the other 8... one of them is going to be affected by
switching to a different size.

Fabio
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to