public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>, commit-hurd@gnu.org
Subject: [hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol
Date: Fri, 19 May 2023 20:45:41 +0200	[thread overview]
Message-ID: <20230519184541.1546043-1-samuel.thibault@ens-lyon.org> (raw)

4d3f846b88d3 ("hurd: Fix __TIMESIZE on x86_64") incidentaly dropped it
because it fixed hurd 64bit into setting __TIMESIZE to 64, and that case
was not having gai_suspend defined yet.
---
 resolv/gai_suspend.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index 977e8d653d..dbd0429f01 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -155,6 +155,8 @@ versioned_symbol (libc, ___gai_suspend_time64, gai_suspend, GLIBC_2_34);
 #  if OTHER_SHLIB_COMPAT (libanl, GLIBC_2_2_3, GLIBC_2_34)
 compat_symbol (libanl, ___gai_suspend_time64, gai_suspend, GLIBC_2_2_3);
 #  endif
+# else
+weak_alias (___gai_suspend_time64, gai_suspend)
 # endif /* PTHREAD_IN_LIBC */
 
 #else /* __TIMESIZE != 64 */
-- 
2.39.2


                 reply	other threads:[~2023-05-19 18:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230519184541.1546043-1-samuel.thibault@ens-lyon.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=commit-hurd@gnu.org \
    --cc=libc-alpha@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).