gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] how to reinstall a peer?


From: Emmanuel Dreyfus
Subject: Re: [Gluster-devel] how to reinstall a peer?
Date: Wed, 27 Feb 2013 06:28:28 +0100
User-agent: MacSOUP/2.7 (unregistered for 2230 days)

Emmanuel Dreyfus <address@hidden> wrote:

> >          if (!xdr_string (xdrs, &objp->op_errstr, ~0))
> >                  return FALSE;
> 
> How is this supposed to work? Here is below the NetBSD xdr_string()
> implementation from libc. Even if objp->op_errstr is not NULL, the
> maxsize argument set to 0 will cause it to always retrurn false. Does it
> has another semantic in Linux?

I overlooked it. ~0 is indeed not 0.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]