ftw.h - incorrectly named macro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
The macro nftw64 is defined twice in /usr/include/ftw.h.
The first definition is incorrect and should be "ftw64" not "nftw64":
--- a/ftw.h 2022-10-17 21:32:31.652502785 +0100
+++ b/ftw.h 2022-10-17 21:33:00.632687352 +0100
@@ -164,7 +164,7 @@
__nonnull ((1, 2));
# else
-# define nftw64 __nftw64_time64
+# define ftw64 __ftw64_time64
# endif
# endif
#endif
This is simply based on the preceding redirect declaration:
extern int __REDIRECT (ftw64, (const char *__dir, __ftw64_func_t __func,
int __descriptors),
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3.1
ProcVersionSign
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: Unity
Date: Mon Oct 17 21:27:14 2022
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Hi,
Thank you for your report. We usually don't fix this kind of issue before it goes through upstream, so could you report this on the upstream bug tracker or mailing list, along with your patch?
When done so, please give us a link to help us track the upstream discussion :)
Thanks in advance.