Re: [PATCH] Move memset call below platform-specific declarations

2014-07-23 Thread Jakub Hrozek
On Wed, Jul 23, 2014 at 06:02:33PM +0200, Jakub Hrozek wrote: > On Tue, Jul 01, 2014 at 09:47:43AM +0100, David Drysdale wrote: > > On Tue, Jul 1, 2014 at 9:36 AM, Jakub Hrozek wrote: > > > > > On Mon, Jun 09, 2014 at 10:22:23AM +0100, David Drysdale wrote: > > > > Hi folks, > > > > > > > > A Git

Re: A patch to fix nsort initialization

2014-07-23 Thread Jakub Hrozek
On Thu, Jul 03, 2014 at 12:24:42PM +0400, Александр Драчевский wrote: > > 03.07.2014, 11:02, "David Drysdale" : > > Shouldn't the line: > >   if (channel->nsort > 0) > > be: > >   if (options->nsort > 0) > > instead? > > > > Yes, sure. Thank you. Hi Alexander, are you going to re-send another v

Re: [PATCH] Move memset call below platform-specific declarations

2014-07-23 Thread Jakub Hrozek
On Tue, Jul 01, 2014 at 09:47:43AM +0100, David Drysdale wrote: > On Tue, Jul 1, 2014 at 9:36 AM, Jakub Hrozek wrote: > > > On Mon, Jun 09, 2014 at 10:22:23AM +0100, David Drysdale wrote: > > > Hi folks, > > > > > > A GitHub commenter [1] says that my recent change to ahost.c has > > > problems c

AF_UNSPEC doesn't fall back to IPv4 if only CNAME is returned

2014-07-23 Thread Jakub Hrozek
Hi, I'm seeing the behaviour described in $SUBJECT with git head of c-ares and I'd like to discuss the best way of fixing it. If you search with ares_gethostbyname() with lookup family set to AF_UNSPEC, the first family to try would be AF_INET6. The code would jump to host_callback() on completin