summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch')
-rw-r--r--patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch b/patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch
deleted file mode 100644
index 34e18d2..0000000
--- a/patches/uClibc/0.9.30.1/100-fix-gethostent_r-failure-retval.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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) {