]> Savannah Git Hosting - gnulib.git/commitdiff
euidaccess: Reject trailing slashes on symlinks to non-directories.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Oct 2023 16:13:54 +0000 (18:13 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Oct 2023 16:26:46 +0000 (18:26 +0200)
* modules/euidaccess (Depends-on): Add access.

ChangeLog
modules/euidaccess

index 7a70e6ab9add594de083ba850d14be77963e445b..95c08b304e735ed23505b89b35747328b26b93b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2023-10-03  Bruno Haible  <bruno@clisp.org>
 
+       euidaccess: Reject trailing slashes on symlinks to non-directories.
+       * modules/euidaccess (Depends-on): Add access.
+
        euidaccess: Add tests.
        * tests/test-access.h: New file, extracted from tests/test-access.c.
        * tests/test-access.c: Moved most code to tests/test-access.h.
index b45cf358d1f44099478d893aa32bfef4a1056c78..627f2de96d459720c2070a3e7be0d6386f577116 100644 (file)
@@ -10,6 +10,7 @@ unistd
 extensions
 root-uid
 fcntl-h
+access          [test $HAVE_EUIDACCESS = 0]
 group-member    [test $HAVE_EUIDACCESS = 0]
 stat            [test $HAVE_EUIDACCESS = 0]
 sys_stat        [test $HAVE_EUIDACCESS = 0]