Thanks, I merged that patch into Gnulib; see: http://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00002.html This means Gnulib starts sharing scratch_buffer.h etc. with glibc, which entails some minor and safe changes to those files on the glibc side. Plus, glibc glob.c can be simplified slightly now. Please see the attached patch, which I hope can be folded into the next iteration of this glibc patchset.