You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
433 B

diff -u -r ../coreutils-8.27/src/hostid.c ./src/hostid.c
--- ../coreutils-8.27/src/hostid.c 2017-01-01 23:34:24.000000000 +0100
+++ ./src/hostid.c 2017-07-07 00:28:59.202840547 +0200
@@ -75,7 +75,9 @@
usage (EXIT_FAILURE);
}
+#ifndef __ANDROID__
id = gethostid ();
+#endif
/* POSIX says gethostid returns a "32-bit identifier" but is silent
whether it's sign-extended. Turn off any sign-extension. This