[PATCHES] Fix/avoid compiler warnings in CTDB
Martin Schwenke
martin at meltin.net
Wed Aug 20 18:22:48 MDT 2014
On Wed, 20 Aug 2014 22:26:36 +1000, Amitay Isaacs <amitay at gmail.com>
wrote:
> On Tue, Aug 12, 2014 at 7:43 PM, Martin Schwenke <martin at meltin.net> wrote:
>
> > The only possibly controversial thing here might be:
> >
> > [PATCH 1/5] ctdb-common: Copy functions sys_read() and sys_write()
> > from source3
> >
> > We really should extricate these from source3 and into some common
> > code. However, just copy them for now to help get rid of a lot of
> > warnings.
> >
> > It would probably be easy to get these functions out of source3 and
> > into the top-level Samba lib/util. However, removing CTDB's own
> > lib/util so that we can use the top-level Samba one is non-trivial -
> > I've started working on that. So, to finally fix the code and get rid
> > of warnings now, this seems like a good idea.
> >
> > Please review and push if OK.
> >
> > These and the other patches from my 4 most recent posts are in my ctdb
> > branch:
> >
> > http://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb
> >
> > peace & happiness,
> > martin
> >
>
> Minor issue in the third patch. Library call system() call does not set
> errno. So instead log the command that failed.
Indeed! Thanks...
New patch set attached.
peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patches
Type: application/octet-stream
Size: 24619 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140821/f4a4148e/attachment.obj>
More information about the samba-technical
mailing list