termux-packages/packages/krb5/sethostent.patch
Vishal Biswas e38a1e2b8d add package krb5 (#588)
* add package krb5

* improve getpass handling

instead of bombarding every linking with getpass.o,
include it where necessary
2017-02-08 00:13:27 +01:00

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,