This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] gethostbyname2 again


On Mon, Mar 02, 2009 at 08:36:55PM -0500, Pierre A. Humblet wrote:
>    realloc_ent function, and call it from both dup_ent and the helper. That 
> caused minor
>    changes in the 4 versions of dup_ent, and I don't know exactly what 
> format to use in the ChangeLog

I would rather that you keep dup_ent as is so that there is no need to
do run-time checks on the type.  If you need to do something similar to
what is currently in dupent, then couldn't you still create a
realloc_ent but just pass in the destination pointer?  Or even just make
realloc_ent mimic realloc but do the rounding that seems to be the
impetus for your breaking this out into a separate function.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]