mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
d1369f342b
/trunk/patches/uClibc/0.9.30/110-arm_fix_alignment.patch | 23 23 0 0 +++ /trunk/patches/uClibc/0.9.30/130-arm-ftruncate64.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/120-rm-whitespace.patch | 88 88 0 0 ++++++++++ /trunk/patches/uClibc/0.9.30/140-gnu89-inline.patch | 16 16 0 0 ++ 5 files changed, 161 insertions(+)
18 lines
561 B
Diff
18 lines
561 B
Diff
Original patch from Gentoo.
|
|
|
|
-= BEGIN original header =-
|
|
-= END original header =-
|
|
|
|
diff -durN uClibc-0.9.30.orig/libc/inet/resolv.c uClibc-0.9.30/libc/inet/resolv.c
|
|
--- uClibc-0.9.30.orig/libc/inet/resolv.c 2008-11-02 01:25:33.000000000 +0100
|
|
+++ uClibc-0.9.30/libc/inet/resolv.c 2009-02-07 09:57:59.000000000 +0100
|
|
@@ -1788,7 +1788,7 @@
|
|
int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
|
|
struct hostent **result, int *h_errnop)
|
|
{
|
|
- int ret;
|
|
+ int ret = HOST_NOT_FOUND;
|
|
|
|
__UCLIBC_MUTEX_LOCK(mylock);
|
|
if (__gethostent_fp == NULL) {
|