termux-packages/packages/krb5/sethostent.patch

12 lines
343 B
Diff

--- ./tests/resolve/resolve.c 2016-12-02 04:01:25.000000000 +0530
+++ ../resolve.c 2016-12-07 11:10:38.473122715 +0530
@@ -111,7 +111,7 @@
/* Set the hosts db to close each time - effectively rewinding file */
- sethostent(0);
+ /* sethostent(0); */
if((host = gethostbyname (myname)) == NULL) {
fprintf(stderr,