[Patch] gethostbyname2 again

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Mar 3 15:38:00 GMT 2009

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.


More information about the Cygwin-patches mailing list