This is an updated version from previous version synced with more recent gnulib version b29d62dfa. It also contains a testscase for the BZ #26421 and a fix to avoid a regression for BZ #22786.
Adhemerval Zanella (6): Import idx.h from gnulib Import filename.h from gnulib malloc: Add scratch_buffer_dupfree stdlib: Sync canonicalize with gnulib [BZ #10635] [BZ #26592] [BZ #26341] [BZ #24970] support: Add support_small_thread_stack_size stdlib: Add testcase fro BZ #26241 include/filename.h | 110 ++++ include/idx.h | 114 ++++ include/scratch_buffer.h | 16 + malloc/Makefile | 1 + malloc/Versions | 1 + malloc/scratch_buffer_dupfree.c | 41 ++ malloc/tst-scratch_buffer.c | 26 +- stdlib/Makefile | 3 +- stdlib/canonicalize.c | 547 ++++++++++++------ stdlib/tst-canon-bz26341.c | 99 ++++ support/support_set_small_thread_stack_size.c | 12 +- support/xthread.h | 2 + sysdeps/unix/sysv/linux/faccessat.c | 3 +- 13 files changed, 805 insertions(+), 170 deletions(-) create mode 100644 include/filename.h create mode 100644 include/idx.h create mode 100644 malloc/scratch_buffer_dupfree.c create mode 100644 stdlib/tst-canon-bz26341.c -- 2.25.1