]> Savannah Git Hosting - gnulib.git/commit
canonicalize: fix AIX test failures
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Dec 2020 01:16:01 +0000 (17:16 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Dec 2020 01:34:15 +0000 (17:34 -0800)
commit0f2e29de0180ed0acc6dd52769d1f7bb9796e358
tree47fa40125ac2cafc8e15dac5b1fb6cc67350e6e5
parent9606c2449cbfd73bbfe4af34bc877761885dcf2e
canonicalize: fix AIX test failures

Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-12/msg00109.html
* lib/canonicalize.c (canonicalize_filename_mode):
When testing a file name ending in '/', use stat rather than
readlink, so that it does the right thing on AIX.
* modules/canonicalize (Depends-on): Add readlink, to pull in the
recent changes in the Gnulib readlink module.
ChangeLog
lib/canonicalize.c
modules/canonicalize