Updating glob is turning out to be trickier than I thought. For starters, m4/glob.m4 claims that the use of the glob module implies that you want GNU semantics; which means that we should really be creating glob-posix and glob-gnu, then making glob an alias for glob-gnu.
Next, m4/glob.m4 claims that glibc's glob always needs replacing, independently of this patchset, but the unit test does not even test whether glob returns dangling symlinks (in my opinion, POSIX requires that it should). I'm stuck on time right now, but thought I would at least post my current status, in case someone else wants to look at it or provide comments on my testsuite enhancements. ChangeLog | 21 +++++++++++ doc/posix-functions/glob.texi | 4 ++ lib/glob.c | 60 +++++++------------------------ tests/test-glob.c | 78 ++++++++++++++++++++++++++++++++++++++-- 4 files changed, 112 insertions(+), 51 deletions(-)