[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
use module 'filename' instead of module 'dosname'
From: |
Bruno Haible |
Subject: |
use module 'filename' instead of module 'dosname' |
Date: |
Sat, 28 Mar 2020 15:58:16 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) |
And this patch finally avoids deprecation warnings.
2020-03-28 Bruno Haible <address@hidden>
Use module 'filename' instead of module 'dosname'.
* lib/at-func.c: Include filename.h instead of dosname.h.
* lib/unlinkat.c: Likewise.
* modules/areadlinkat (Depends-on): Add filename. Remove dosname.
* modules/areadlinkat-with-size (Depends-on): Likewise.
* modules/faccessat (Depends-on): Likewise.
* modules/fchmodat (Depends-on): Likewise.
* modules/fchownat (Depends-on): Likewise.
* modules/fstatat (Depends-on): Likewise.
* modules/mkdirat (Depends-on): Likewise.
* modules/mkfifoat (Depends-on): Likewise.
* modules/readlinkat (Depends-on): Likewise.
* modules/selinux-at (Depends-on): Likewise.
* modules/symlinkat (Depends-on): Likewise.
* modules/unlinkat (Depends-on): Likewise.
* modules/utimensat (Depends-on): Likewise.
* lib/at-func2.c: Include filename.h instead of dosname.h.
* modules/linkat (Depends-on): Add filename. Remove dosname.
* modules/renameatu (Depends-on): Likewise.
* lib/canonicalize.c: Include filename.h instead of dosname.h.
* lib/canonicalize-lgpl.c: Likewise.
* modules/canonicalize (Depends-on): Add filename.
* modules/canonicalize-lgpl (Depends-on): Likewise.
* lib/dirname.h: Include filename.h instead of dosname.h.
* modules/dirname-lgpl (Depends-on): Add filename. Remove dosname.
* lib/fchdir.c: Include filename.h instead of dosname.h.
* modules/fchdir (Depends-on): Add filename. Remove dosname.
* lib/openat.c: Include filename.h instead of dosname.h.
* modules/openat (Depends-on): Add filename. Remove dosname.
* lib/rmdir.c: Include filename.h instead of dosname.h.
* modules/rmdir (Depends-on): Add filename. Remove dosname.
* lib/savewd.c: Include filename.h instead of dosname.h.
* modules/savewd (Depends-on): Add filename. Remove dosname.
* lib/unlink.c: Include filename.h instead of dosname.h.
* modules/unlink (Depends-on): Add filename. Remove dosname.
* modules/relocatable-prog-wrapper (Depends-on): Add filename.
* lib/relocwrapper.c: Update comments.
* modules/lstat (Depends-on): Remove dosname.
diff --git a/lib/at-func.c b/lib/at-func.c
index 4a1c909..90022e0 100644
--- a/lib/at-func.c
+++ b/lib/at-func.c
@@ -16,7 +16,7 @@
/* written by Jim Meyering */
-#include "dosname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
+#include "filename.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
#ifdef GNULIB_SUPPORT_ONLY_AT_FDCWD
# include <errno.h>
diff --git a/lib/at-func2.c b/lib/at-func2.c
index bc2e2fa..51baf3d 100644
--- a/lib/at-func2.c
+++ b/lib/at-func2.c
@@ -25,7 +25,7 @@
#include <string.h>
#include <unistd.h>
-#include "dosname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
+#include "filename.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
#include "filenamecat.h"
#include "openat.h"
#include "same-inode.h"
diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c
index 7d3c710..9f99098 100644
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -51,7 +51,7 @@
# define __realpath realpath
# include "pathmax.h"
# include "malloca.h"
-# include "dosname.h"
+# include "filename.h"
# if HAVE_GETCWD
# if IN_RELOCWRAPPER
/* When building the relocatable program wrapper, use the system's getcwd
diff --git a/lib/canonicalize.c b/lib/canonicalize.c
index 67fc76e..8bb3254 100644
--- a/lib/canonicalize.c
+++ b/lib/canonicalize.c
@@ -30,7 +30,7 @@
#include "pathmax.h"
#include "xalloc.h"
#include "xgetcwd.h"
-#include "dosname.h"
+#include "filename.h"
#define MULTIPLE_BITS_SET(i) (((i) & ((i) - 1)) != 0)
diff --git a/lib/dirname.h b/lib/dirname.h
index 8c12d93..5379e8e 100644
--- a/lib/dirname.h
+++ b/lib/dirname.h
@@ -21,7 +21,7 @@
# include <stdbool.h>
# include <stddef.h>
-# include "dosname.h"
+# include "filename.h"
# ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'
diff --git a/lib/fchdir.c b/lib/fchdir.c
index c27914b..20ecd3c 100644
--- a/lib/fchdir.c
+++ b/lib/fchdir.c
@@ -29,7 +29,7 @@
#include <sys/stat.h>
#include "assure.h"
-#include "dosname.h"
+#include "filename.h"
#include "filenamecat.h"
#ifndef REPLACE_OPEN_DIRECTORY
diff --git a/lib/openat.c b/lib/openat.c
index fdbe83f..974f1a8 100644
--- a/lib/openat.c
+++ b/lib/openat.c
@@ -167,7 +167,7 @@ rpl_openat (int dfd, char const *filename, int flags, ...)
#else /* !HAVE_OPENAT */
-# include "dosname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
+# include "filename.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
# include "openat-priv.h"
# include "save-cwd.h"
diff --git a/lib/relocwrapper.c b/lib/relocwrapper.c
index 1b29ac0..dfe7e4f 100644
--- a/lib/relocwrapper.c
+++ b/lib/relocwrapper.c
@@ -24,10 +24,11 @@
-> allocator
-> readlink
-> stat
- -> dosname
+ -> filename
-> pathmax
-> verify
-> canonicalize-lgpl
+ -> filename
-> malloca
-> lstat
-> readlink
diff --git a/lib/rmdir.c b/lib/rmdir.c
index 2f517cc..2155224 100644
--- a/lib/rmdir.c
+++ b/lib/rmdir.c
@@ -23,7 +23,7 @@
#include <errno.h>
#include <string.h>
-#include "dosname.h"
+#include "filename.h"
#undef rmdir
diff --git a/lib/savewd.c b/lib/savewd.c
index 2cfdf88..2b68e41 100644
--- a/lib/savewd.c
+++ b/lib/savewd.c
@@ -33,8 +33,8 @@
#include <unistd.h>
#include "assure.h"
-#include "dosname.h"
#include "fcntl-safer.h"
+#include "filename.h"
#ifndef FALLTHROUGH
# if __GNUC__ < 7
diff --git a/lib/unlink.c b/lib/unlink.c
index 5e0f4e1..35463fd 100644
--- a/lib/unlink.c
+++ b/lib/unlink.c
@@ -24,7 +24,7 @@
#include <string.h>
#include <sys/stat.h>
-#include "dosname.h"
+#include "filename.h"
#undef unlink
diff --git a/lib/unlinkat.c b/lib/unlinkat.c
index 7c0302e..4423686 100644
--- a/lib/unlinkat.c
+++ b/lib/unlinkat.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
-#include "dosname.h"
+#include "filename.h"
#include "openat.h"
#if HAVE_UNLINKAT
diff --git a/modules/areadlinkat b/modules/areadlinkat
index a9668cf..3b36f13 100644
--- a/modules/areadlinkat
+++ b/modules/areadlinkat
@@ -11,11 +11,11 @@ areadlink
careadlinkat
readlinkat
at-internal
-dosname
errno
extensions
fchdir
fcntl-h
+filename
openat-die
openat-h
save-cwd
diff --git a/modules/areadlinkat-with-size b/modules/areadlinkat-with-size
index 2cdd959..51fb1a8 100644
--- a/modules/areadlinkat-with-size
+++ b/modules/areadlinkat-with-size
@@ -11,11 +11,11 @@ areadlink-with-size
stdint
readlinkat
at-internal
-dosname
errno
extensions
fchdir
fcntl-h
+filename
openat-die
openat-h
save-cwd
diff --git a/modules/canonicalize b/modules/canonicalize
index b8aadb7..233fba9 100644
--- a/modules/canonicalize
+++ b/modules/canonicalize
@@ -12,6 +12,7 @@ areadlink-with-size
errno
extensions
file-set
+filename
hash-triple
lstat
memmove
diff --git a/modules/canonicalize-lgpl b/modules/canonicalize-lgpl
index ad8c028..3526422 100644
--- a/modules/canonicalize-lgpl
+++ b/modules/canonicalize-lgpl
@@ -12,6 +12,7 @@ stdlib
nocrash
alloca-opt [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
errno [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
+filename [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
lstat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
malloca [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
memmove [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test
$REPLACE_CANONICALIZE_FILE_NAME = 1]
diff --git a/modules/dirname-lgpl b/modules/dirname-lgpl
index 4b48a3e..d6c3efd 100644
--- a/modules/dirname-lgpl
+++ b/modules/dirname-lgpl
@@ -9,8 +9,8 @@ lib/stripslash.c
m4/dirname.m4
Depends-on:
-dosname
double-slash-root
+filename
malloc-posix
stdbool
diff --git a/modules/faccessat b/modules/faccessat
index 170aa7b..b502137 100644
--- a/modules/faccessat
+++ b/modules/faccessat
@@ -10,10 +10,10 @@ Depends-on:
unistd
extensions
at-internal [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
-dosname [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
errno [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
fchdir [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
fcntl-h [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
+filename [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
fstatat [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
openat-die [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
openat-h [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1]
diff --git a/modules/fchdir b/modules/fchdir
index 6e95e9a..eb53d25 100644
--- a/modules/fchdir
+++ b/modules/fchdir
@@ -12,10 +12,10 @@ chdir [test $HAVE_FCHDIR = 0]
close [test $HAVE_FCHDIR = 0]
dirent [test $HAVE_FCHDIR = 0]
dirfd [test $HAVE_FCHDIR = 0]
-dosname [test $HAVE_FCHDIR = 0]
dup2 [test $HAVE_FCHDIR = 0]
fcntl [test $HAVE_FCHDIR = 0]
fcntl-h [test $HAVE_FCHDIR = 0]
+filename [test $HAVE_FCHDIR = 0]
filenamecat-lgpl [test $HAVE_FCHDIR = 0]
fstat [test $HAVE_FCHDIR = 0]
getcwd-lgpl [test $HAVE_FCHDIR = 0]
diff --git a/modules/fchmodat b/modules/fchmodat
index aef184d..83e14ab 100644
--- a/modules/fchmodat
+++ b/modules/fchmodat
@@ -10,11 +10,11 @@ Depends-on:
sys_stat
extensions
at-internal [test $HAVE_FCHMODAT = 0]
-dosname [test $HAVE_FCHMODAT = 0]
errno [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
extern-inline [test $HAVE_FCHMODAT = 0]
fchdir [test $HAVE_FCHMODAT = 0]
fcntl-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
+filename [test $HAVE_FCHMODAT = 0]
fstatat [test $REPLACE_FCHMODAT = 1]
intprops [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
lchmod [test $HAVE_FCHMODAT = 0]
diff --git a/modules/fchownat b/modules/fchownat
index d29d77e..e14544a 100644
--- a/modules/fchownat
+++ b/modules/fchownat
@@ -10,11 +10,11 @@ Depends-on:
unistd
extensions
at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
-dosname [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
extern-inline [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
+filename [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
openat-die [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
openat-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
diff --git a/modules/fstatat b/modules/fstatat
index 14c3f27..985ea0c 100644
--- a/modules/fstatat
+++ b/modules/fstatat
@@ -11,11 +11,11 @@ Depends-on:
sys_stat
extensions
at-internal [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
-dosname [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
errno [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
extern-inline [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
fchdir [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
fcntl-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+filename [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
lstat [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-die [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
diff --git a/modules/linkat b/modules/linkat
index a7cbb94..e6f70ff 100644
--- a/modules/linkat
+++ b/modules/linkat
@@ -16,7 +16,7 @@ filenamecat-lgpl [test $HAVE_LINKAT = 0 || test
$REPLACE_LINKAT = 1]
link-follow [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
areadlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
at-internal [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
-dosname [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+filename [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
fstat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
getcwd-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
openat-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
diff --git a/modules/lstat b/modules/lstat
index a5bff51..6173858 100644
--- a/modules/lstat
+++ b/modules/lstat
@@ -8,7 +8,6 @@ m4/lstat.m4
Depends-on:
sys_stat
largefile
-dosname [test $REPLACE_LSTAT = 1]
stat [test $REPLACE_LSTAT = 1]
stat-time [test $REPLACE_LSTAT = 1]
diff --git a/modules/mkdirat b/modules/mkdirat
index 0fe638a..7b70a0b 100644
--- a/modules/mkdirat
+++ b/modules/mkdirat
@@ -10,10 +10,10 @@ Depends-on:
sys_stat
extensions
at-internal [test $HAVE_MKDIRAT = 0]
-dosname [test $HAVE_MKDIRAT = 0]
errno [test $HAVE_MKDIRAT = 0]
fchdir [test $HAVE_MKDIRAT = 0]
fcntl-h [test $HAVE_MKDIRAT = 0]
+filename [test $HAVE_MKDIRAT = 0]
mkdir [test $HAVE_MKDIRAT = 0]
openat-die [test $HAVE_MKDIRAT = 0]
openat-h [test $HAVE_MKDIRAT = 0]
diff --git a/modules/mkfifoat b/modules/mkfifoat
index bc0c8e3..6c859f3 100644
--- a/modules/mkfifoat
+++ b/modules/mkfifoat
@@ -12,10 +12,10 @@ Depends-on:
sys_stat
extensions
at-internal [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
-dosname [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
errno [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
fchdir [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
fcntl-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
+filename [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
openat-die [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
openat-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
save-cwd [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
diff --git a/modules/openat b/modules/openat
index 66fa3b4..5ff4e4d 100644
--- a/modules/openat
+++ b/modules/openat
@@ -18,9 +18,9 @@ sys_stat [test $HAVE_OPENAT = 0 || test
$REPLACE_OPENAT = 1]
cloexec [test $REPLACE_OPENAT = 1]
fstat [test $REPLACE_OPENAT = 1]
at-internal [test $HAVE_OPENAT = 0]
-dosname [test $HAVE_OPENAT = 0]
errno [test $HAVE_OPENAT = 0]
fchdir [test $HAVE_OPENAT = 0]
+filename [test $HAVE_OPENAT = 0]
open [test $HAVE_OPENAT = 0]
openat-die [test $HAVE_OPENAT = 0]
save-cwd [test $HAVE_OPENAT = 0]
diff --git a/modules/readlinkat b/modules/readlinkat
index 84dac40..3bc7239 100644
--- a/modules/readlinkat
+++ b/modules/readlinkat
@@ -10,10 +10,10 @@ Depends-on:
unistd
extensions
at-internal [test $HAVE_READLINKAT = 0]
-dosname [test $HAVE_READLINKAT = 0]
errno [test $HAVE_READLINKAT = 0]
fchdir [test $HAVE_READLINKAT = 0]
fcntl-h [test $HAVE_READLINKAT = 0]
+filename [test $HAVE_READLINKAT = 0]
openat-die [test $HAVE_READLINKAT = 0]
openat-h [test $HAVE_READLINKAT = 0]
save-cwd [test $HAVE_READLINKAT = 0]
diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper
index 25cc66f..3cc3d76 100644
--- a/modules/relocatable-prog-wrapper
+++ b/modules/relocatable-prog-wrapper
@@ -37,6 +37,7 @@ Depends-on:
alloca-opt
double-slash-root
errno
+filename
largefile
pathmax
ssize_t
diff --git a/modules/renameatu b/modules/renameatu
index d0a123c..5ce8e47 100644
--- a/modules/renameatu
+++ b/modules/renameatu
@@ -16,7 +16,7 @@ openat-h [test $HAVE_RENAMEAT = 0 || test
$REPLACE_RENAMEAT = 1]
statat [test $REPLACE_RENAMEAT = 1]
stdbool [test $REPLACE_RENAMEAT = 1]
at-internal [test $HAVE_RENAMEAT = 0]
-dosname [test $HAVE_RENAMEAT = 0]
+filename [test $HAVE_RENAMEAT = 0]
fstat [test $HAVE_RENAMEAT = 0]
getcwd-lgpl [test $HAVE_RENAMEAT = 0]
openat-die [test $HAVE_RENAMEAT = 0]
diff --git a/modules/rmdir b/modules/rmdir
index 59a9dba..85336ba 100644
--- a/modules/rmdir
+++ b/modules/rmdir
@@ -7,7 +7,7 @@ m4/rmdir.m4
Depends-on:
unistd
-dosname [test $REPLACE_RMDIR = 1]
+filename [test $REPLACE_RMDIR = 1]
sys_stat [test $REPLACE_RMDIR = 1]
configure.ac:
diff --git a/modules/savewd b/modules/savewd
index a6c8267..935540c 100644
--- a/modules/savewd
+++ b/modules/savewd
@@ -9,12 +9,12 @@ m4/savewd.m4
Depends-on:
assure
chdir
-dosname
errno
extern-inline
fchdir
fcntl-safer
fcntl-h
+filename
raise
stdbool
stdlib
diff --git a/modules/selinux-at b/modules/selinux-at
index 29d188e..4de98a6 100644
--- a/modules/selinux-at
+++ b/modules/selinux-at
@@ -9,11 +9,11 @@ lib/at-func.c
Depends-on:
selinux-h
at-internal
-dosname
errno
extensions
fchdir
fcntl-h
+filename
openat-die
openat-h
save-cwd
diff --git a/modules/symlinkat b/modules/symlinkat
index 3d1f2ac..16d0fcc 100644
--- a/modules/symlinkat
+++ b/modules/symlinkat
@@ -10,10 +10,10 @@ Depends-on:
unistd
extensions
at-internal [test $HAVE_SYMLINKAT = 0]
-dosname [test $HAVE_SYMLINKAT = 0]
errno [test $HAVE_SYMLINKAT = 0]
fchdir [test $HAVE_SYMLINKAT = 0]
fcntl-h [test $HAVE_SYMLINKAT = 0]
+filename [test $HAVE_SYMLINKAT = 0]
openat-die [test $HAVE_SYMLINKAT = 0]
openat-h [test $HAVE_SYMLINKAT = 0]
save-cwd [test $HAVE_SYMLINKAT = 0]
diff --git a/modules/unlink b/modules/unlink
index 5fc84d9..9e57184 100644
--- a/modules/unlink
+++ b/modules/unlink
@@ -7,7 +7,7 @@ m4/unlink.m4
Depends-on:
unistd
-dosname [test $REPLACE_UNLINK = 1]
+filename [test $REPLACE_UNLINK = 1]
lstat [test $REPLACE_UNLINK = 1]
malloc-posix [test $REPLACE_UNLINK = 1]
diff --git a/modules/unlinkat b/modules/unlinkat
index f2094e0..b379a90 100644
--- a/modules/unlinkat
+++ b/modules/unlinkat
@@ -15,9 +15,9 @@ openat-h [test $HAVE_UNLINKAT = 0 || test
$REPLACE_UNLINKAT = 1]
sys_stat [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
statat [test $REPLACE_UNLINKAT = 1]
at-internal [test $HAVE_UNLINKAT = 0]
-dosname [test $HAVE_UNLINKAT = 0]
errno [test $HAVE_UNLINKAT = 0]
fchdir [test $HAVE_UNLINKAT = 0]
+filename [test $HAVE_UNLINKAT = 0]
openat-die [test $HAVE_UNLINKAT = 0]
rmdir [test $HAVE_UNLINKAT = 0]
save-cwd [test $HAVE_UNLINKAT = 0]
diff --git a/modules/utimensat b/modules/utimensat
index 27e4679..1d8895f 100644
--- a/modules/utimensat
+++ b/modules/utimensat
@@ -10,10 +10,10 @@ Depends-on:
sys_stat
extensions
at-internal [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
-dosname [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
errno [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
fchdir [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
fcntl-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
+filename [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
openat-die [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
openat-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
save-cwd [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]