[PATCH] Add-on to gethostbyname2

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jan 23 10:48:00 GMT 2015


On Jan 22 21:05, Pierre A. Humblet wrote:
> Add-on to gethostbyname2, as discussed previously on main list.
> The diff is also attached.
> 
> 
> Pierre
> 
> 2015-01-22  Pierre A. Humblet <...>
> 
>         * net.cc (cygwin_inet_pton): Declare.
>         (gethostby_specials): New function.
>         (gethostby_helper): Change returned addrtype in 4-to-6 case.
>         (gethostbyname2): Call gethostby_specials.

Patch applied with just fixing the coding style a bit:

  if () {
    [...]
  }

  ==>

  if ()
    {
      [...]
    }

Do you have some wording for the release info in the docs, please?


Thanks,
Corinna


-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150123/9b446969/attachment.sig>


More information about the Cygwin-patches mailing list