errno and h_errno values are not the same #876 by rfelker
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -62,7 +62,6 @@ int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst) | |
| } | |
| if (hostfirst) { | |
| /* Don't try again */ | |
| - | errno = h_errno; |
| return -1; | |
| } | |
| #ifdef DEBUG | |
| @@ -74,7 +73,6 @@ int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst) | |
| bb_error_msg("gethostbyname (%s)", name); | |
| #endif | |
| if ((hp = gethostbyname(name)) == (struct hostent *) NULL) { | |
| - | errno = h_errno; |
| return -1; | |
| } | |
| memcpy((char *) &s_in->sin_addr, (char *) hp->h_addr_list[0], | |