git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Gary V. Vaughan" <git@mlists.thewrittenword.com>
Cc: git@vger.kernel.org
Subject: Re: [patch 11/15] no-hstrerror.patch
Date: Tue, 16 Mar 2010 00:24:47 -0700	[thread overview]
Message-ID: <7veijkn2yo.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: 20100316054352.704479000@mlists.thewrittenword.com

"Gary V. Vaughan" <git@mlists.thewrittenword.com> writes:

> SunOS 5.6 and 5.5.1 do not have hstrerror, even in libresolv.
>
> This patch improves the logic of the test for hstrerror, not to
> blindly assume that if there is no hstrerror in libc that it must
> exist in libresolv.
> ---
>  Makefile      |    1 +
>  config.mak.in |    1 +
>  configure.ac  |   17 ++++++++++++++---
>  3 files changed, 16 insertions(+), 3 deletions(-)
>
> Index: b/configure.ac
> ===================================================================
> --- a/configure.ac
> +++ b/configure.ac
> @@ -526,11 +526,22 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
>  
>  #
>  # Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
> -# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
> -# inet_ntop and inet_pton additionally reside there.
> -AC_CHECK_LIB([c], [hstrerror],
> +# Notably on Solaris 7 inet_ntop and inet_pton additionally reside there.

You lost the thing they are "additional" to, so this needs a bit of
rewording?

Other than that the patch looked sane (I don't have access to any vintage
of Solaris these days, so I only read it through, though).

Thanks.

  reply	other threads:[~2010-03-16  7:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16  5:42 [patch 00/15] Portability Patches v3 Gary V. Vaughan
2010-03-16  5:42 ` [patch 01/15] user-cppflags.patch Gary V. Vaughan
2010-03-16  7:21   ` Junio C Hamano
2010-03-16  5:42 ` [patch 02/15] const-expr.patch Gary V. Vaughan
2010-03-16  7:31   ` Johannes Sixt
2010-03-16  8:23     ` Gary V. Vaughan
2010-03-16 23:43     ` Avery Pennarun
2010-04-25  8:38       ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 03/15] pthread.patch Gary V. Vaughan
2010-03-16  7:21   ` Junio C Hamano
2010-03-16  5:42 ` [patch 04/15] diff-export.patch Gary V. Vaughan
2010-03-16  7:24   ` Junio C Hamano
2010-03-16  5:42 ` [patch 05/15] diff-test_cmp.patch Gary V. Vaughan
2010-03-16  7:21   ` Junio C Hamano
2010-04-25  8:38     ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 06/15] diff-defaults.patch Gary V. Vaughan
2010-03-16  7:22   ` Junio C Hamano
2010-04-25  8:38     ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 07/15] host-IRIX.patch Gary V. Vaughan
2010-03-16  7:24   ` Junio C Hamano
2010-04-25  8:39     ` Gary V. Vaughan
2010-03-16 15:27   ` Brandon Casey
2010-04-25  8:39     ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 08/15] host-HPUX10.patch Gary V. Vaughan
2010-03-16  5:42 ` [patch 09/15] host-HPUX11.patch Gary V. Vaughan
2010-03-16  5:42 ` [patch 10/15] host-OSF1.patch Gary V. Vaughan
2010-03-16  5:42 ` [patch 11/15] no-hstrerror.patch Gary V. Vaughan
2010-03-16  7:24   ` Junio C Hamano [this message]
2010-04-25  8:39     ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 12/15] no-inet_ntop.patch Gary V. Vaughan
2010-03-16  5:42 ` [patch 13/15] no-socklen_t.patch Gary V. Vaughan
2010-03-16  7:25   ` Junio C Hamano
2010-04-25  8:39     ` Gary V. Vaughan
2010-03-16  5:42 ` [patch 14/15] no-ss_family.patch Gary V. Vaughan
2010-03-16  5:42 ` [patch 15/15] no-inline.patch Gary V. Vaughan
2010-03-16  6:18 ` [patch 00/15] Portability Patches v3 Sverre Rabbelier
2010-03-16 16:03 ` Brandon Casey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7veijkn2yo.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@mlists.thewrittenword.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).