Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391638 Details for
Bug 532514
net-fs/nfs-utils-1.3.0-r1: add support for building against sys-libs/musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch (text/plain), 1.02 KB, created by
DaggyStyle
on 2014-12-13 21:50:40 UTC
(
hide
)
Description:
0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
Filename:
MIME Type:
Creator:
DaggyStyle
Created:
2014-12-13 21:50:40 UTC
Size:
1.02 KB
patch
obsolete
>From 0b4df13026eb371b68abc4b8cec4ca8d90c3b0a3 Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Mon, 2 Jun 2014 14:42:10 +0200 >Subject: [PATCH] exportfs: only do glibc specific hackery on glibc > >We should not depend on the libc do free(3) on ai_canonname as that is >completely up to implementation and known o break things on uclibc and >musl libc. > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > support/export/hostname.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/support/export/hostname.c b/support/export/hostname.c >index d9153e1..30584b4 100644 >--- a/support/export/hostname.c >+++ b/support/export/hostname.c >@@ -382,6 +382,7 @@ host_numeric_addrinfo(const struct sockaddr *sap) > > ai = host_pton(buf); > >+#if !definded(__UCLIBC__) && defined(__GLIBC__) > /* > * getaddrinfo(AI_NUMERICHOST) never fills in ai_canonname > */ >@@ -392,7 +393,9 @@ host_numeric_addrinfo(const struct sockaddr *sap) > ai = NULL; > } > } >+#endif > > return ai; > } >+ > #endif /* !HAVE_GETNAMEINFO */ >-- >2.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 532514
:
391610
|
391612
|
391614
|
391616
|
391618
|
391620
|
391622
|
391624
|
391626
|
391628
|
391630
|
391632
|
391634
|
391636
| 391638 |
391640
|
391642