mountlist: Use Linux code on Android.
commita3d1c7849936e481ae10dea5312a36a448a5d5bf
authorBruno Haible <bruno@clisp.org>
Sat, 26 Jan 2019 23:21:17 +0000 (27 00:21 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Jan 2019 23:21:17 +0000 (27 00:21 +0100)
tree93851bf05208256b2a656b5548a55876ed1cd96e
parent29c58de5bde12dd975966479c495e9516893125d
mountlist: Use Linux code on Android.

* lib/mountlist.c (setmntent, endmntent): Define fallbacks.
(unescape_tab, read_file_system_list): Enable Linux code on Android
as well.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Test for setmntent
and endmntent.
* modules/mountlist (Depends-on): Add 'getline'.
ChangeLog
lib/mountlist.c
m4/ls-mntd-fs.m4
modules/mountlist