- changed status to resolved
Make GLOB_ONLYDIR optional
Issue #285
resolved
Compilation currently fails on linux system using the musl libc library.(See http://bluedragon-tinderbox.freeharbor.net/app-admin/monit-5.12.2/temp/build.log) because the GNU extension GLOB_ONLYDIR is used.
The man page says that GLOB_ONLYDIR is only an optimization, so it seems sensible to use 0 when it is not defined.
Comments (1)
-
repo owner - Log in to comment
Fixed: Issue
#285: Compilation of monit on linux with musl libc library. On linux all /proc/[0-9]* matching entries are directories anyway, GLOB_ONLYDIR flag had no effect => dropping it.→ <<cset 1f3dd5d54977>>