diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-29 02:16:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-29 02:16:13 +0000 |
commit | 19150d393d3a3d287cd5111cba19c8daba3dead6 (patch) | |
tree | 8987e8daeed61254f0125ef914f8ea0be757c223 /toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch | |
parent | f93a3164307e1fbdc7031feab08a39c61704dc49 (diff) | |
download | upstream-19150d393d3a3d287cd5111cba19c8daba3dead6.tar.gz upstream-19150d393d3a3d287cd5111cba19c8daba3dead6.tar.bz2 upstream-19150d393d3a3d287cd5111cba19c8daba3dead6.zip |
toolchain/uClibc: backport madvise and fallocate (fixes #19336)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45100
Diffstat (limited to 'toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch b/toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch index 0bf89e89bb..390e06ddb7 100644 --- a/toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch +++ b/toolchain/uClibc/patches-0.9.33.2/133-inet6-scoped-getnameinfo.patch @@ -1,6 +1,6 @@ --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c -@@ -317,6 +317,7 @@ +@@ -317,6 +317,7 @@ Domain name in a message can be represen #include <sys/utsname.h> #include <sys/un.h> #include <sys/stat.h> @@ -8,7 +8,7 @@ #include <bits/uClibc_mutex.h> #include "internal/parse_config.h" -@@ -1861,7 +1862,6 @@ +@@ -1861,7 +1862,6 @@ int getnameinfo(const struct sockaddr *s c = inet_ntop(AF_INET6, (const void *) &sin6p->sin6_addr, host, hostlen); @@ -16,7 +16,7 @@ /* Does scope id need to be supported? */ uint32_t scopeid; scopeid = sin6p->sin6_scope_id; -@@ -1898,7 +1898,6 @@ +@@ -1898,7 +1898,6 @@ int getnameinfo(const struct sockaddr *s return EAI_SYSTEM; memcpy(host + real_hostlen, scopebuf, scopelen + 1); } |