[brcm63xx] add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from...
[openwrt.git] / toolchain / uClibc / patches / 004-fix_gethostent_r_failure_retval.patch
1 --- a/libc/inet/resolv.c
2 +++ b/libc/inet/resolv.c
3 @@ -1700,7 +1700,7 @@ void sethostent (int stay_open)
4 int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
5 struct hostent **result, int *h_errnop)
6 {
7 - int ret;
8 + int ret = HOST_NOT_FOUND;
9
10 __UCLIBC_MUTEX_LOCK(mylock);
11 if (__gethostent_fp == NULL) {
This page took 0.04366 seconds and 5 git commands to generate.