[Bug 1993209] [NEW] sys/stat.h - incorrect macro definition
Iestyn Elfick
1993209 at bugs.launchpad.net
Mon Oct 17 20:40:15 UTC 2022
Public bug reported:
/usr/include/x86_64-linux-gnu/sys/stat.h:
# else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (stat64, (const char *__restrict __file,
struct stat64 *__restrict __buf),
__stat64_time64)
__nonnull ((1, 2));
extern int __REDIRECT_NTH (fstat64, (int __fd, struct stat64 *__buf),
__fstat64_time64)
__nonnull ((2));
# else
# define stat64 __stat64_time64
# define fstat64 __fstat64_time <<< DOES NOT LOOK RIGHT
# endif
# endif
#endif
Suggest:
--- a/stat.h 2022-10-17 21:37:26.110226859 +0100
+++ b/stat.h 2022-10-17 21:39:50.182976059 +0100
@@ -251,7 +251,7 @@
__nonnull ((2));
# else
# define stat64 __stat64_time64
-# define fstat64 __fstat64_time
+# define fstat64 __fstat64_time64
# endif
# endif
#endif
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3.1
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: Unity
Date: Mon Oct 17 21:36:42 2022
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.logrotate.d.apport: [modified]
mtime.conffile..etc.logrotate.d.apport: 2022-10-02T18:09:04.116941
** Affects: glibc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy wayland-session
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1993209
Title:
sys/stat.h - incorrect macro definition
Status in glibc package in Ubuntu:
New
Bug description:
/usr/include/x86_64-linux-gnu/sys/stat.h:
# else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (stat64, (const char *__restrict __file,
struct stat64 *__restrict __buf),
__stat64_time64)
__nonnull ((1, 2));
extern int __REDIRECT_NTH (fstat64, (int __fd, struct stat64 *__buf),
__fstat64_time64)
__nonnull ((2));
# else
# define stat64 __stat64_time64
# define fstat64 __fstat64_time <<< DOES NOT LOOK RIGHT
# endif
# endif
#endif
Suggest:
--- a/stat.h 2022-10-17 21:37:26.110226859 +0100
+++ b/stat.h 2022-10-17 21:39:50.182976059 +0100
@@ -251,7 +251,7 @@
__nonnull ((2));
# else
# define stat64 __stat64_time64
-# define fstat64 __fstat64_time
+# define fstat64 __fstat64_time64
# endif
# endif
#endif
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3.1
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: Unity
Date: Mon Oct 17 21:36:42 2022
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.logrotate.d.apport: [modified]
mtime.conffile..etc.logrotate.d.apport: 2022-10-02T18:09:04.116941
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1993209/+subscriptions
More information about the foundations-bugs
mailing list