This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [Patch] gethostbyname2 again
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 3 Mar 2009 10:38:01 -0500
- Subject: Re: [Patch] gethostbyname2 again
- References: <0KFW0072QPTQUMJ2@vms173001.mailsrvcs.net>
- Reply-to: cygwin-patches at cygwin dot com
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