* modules/fchmodat (Depends-on): Remove openat.  Even though
fchmodat.c calls openat, that call is used only on platforms
that do not need anything that the openat module supplies.
Removing the unnecessary dependency simplifies GNU Emacs.
---
 ChangeLog        | 8 ++++++++
 modules/fchmodat | 1 -
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 49351e86e4..76903f733f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-11-02  Paul Eggert  <[email protected]>
+
+       fchmodat: don’t depend on openat
+       * modules/fchmodat (Depends-on): Remove openat.  Even though
+       fchmodat.c calls openat, that call is used only on platforms
+       that do not need anything that the openat module supplies.
+       Removing the unnecessary dependency simplifies GNU Emacs.
+
 2025-11-02  Collin Funk  <[email protected]>
 
        fts tests: Add a test for FTS_MOUNT.
diff --git a/modules/fchmodat b/modules/fchmodat
index b15c29b8dc..82d4437d7b 100644
--- a/modules/fchmodat
+++ b/modules/fchmodat
@@ -15,7 +15,6 @@ unistd-h        [test $HAVE_FCHMODAT = 0 || test 
$REPLACE_FCHMODAT = 1]
 intprops        [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
 c99             [test $REPLACE_FCHMODAT = 1]
 issymlinkat     [test $REPLACE_FCHMODAT = 1]
-openat          [test $REPLACE_FCHMODAT = 1]
 at-internal     [test $HAVE_FCHMODAT = 0]
 chmod           [test $HAVE_FCHMODAT = 0]
 extern-inline   [test $HAVE_FCHMODAT = 0]
-- 
2.51.0


Reply via email to