coreutils: Update from 8.27 to 8.28
[termux-packages] / packages / coreutils / src-hostid.c.patch
CommitLineData
d7d48bac
FF
1diff -u -r ../coreutils-8.27/src/hostid.c ./src/hostid.c
2--- ../coreutils-8.27/src/hostid.c 2017-01-01 23:34:24.000000000 +0100
3+++ ./src/hostid.c 2017-07-07 00:28:59.202840547 +0200
4@@ -75,7 +75,9 @@
5 usage (EXIT_FAILURE);
6 }
7
8+#ifndef __ANDROID__
9 id = gethostid ();
10+#endif
11
12 /* POSIX says gethostid returns a "32-bit identifier" but is silent
13 whether it's sign-extended. Turn off any sign-extension. This