Subject: Re: [c-ares] Re: [c-ares] Re: [PATCH] Make pointed-to ares_options data const

Re: [c-ares] Re: [c-ares] Re: [PATCH] Make pointed-to ares_options data const

From: Brad Spencer <spencer_at_jacknife.org>
Date: Thu, 17 May 2007 22:32:55 -0300

On Thu, May 17, 2007 at 10:57:27PM +0200, Daniel Stenberg wrote:
> On Thu, 17 May 2007, Brad House wrote:
>
> >We're not talking about 'receivers' here. You're talking about making
> >an API break for people who are using this structure. I didn't define
> >the structure, but changing the members arbitrarily to const doesn't
> >make any sense for maintaining compatibility regardless of how much
> >'easier' it is for you.
>
> I completely agree and I don't see any point in breaking the API (and
> possibly even ABI) without a better reason than what has been given here.

Fair enough. I can easy patch it locally so it's no difference to me.
I'm gonna chalk the whole thing up to "C programmers think
(legitimately) differently". ;)

-- 
----------------------------------------------------------
Brad Spencer - spencer@jacknife.org - http://jacknife.org/

Received on 2007-05-18