[Bug 273712] off64_t namespace pollution in <sys/types.h> or incomplete LFS64 API support
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273712
Bug ID: 273712
Summary: off64_t namespace pollution in <sys/types.h> or
incomplete LFS64 API support
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: standards
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
off64_t is part of Large File Support API that FreeBSD never supported as off_t
is always 64-bit. base 6710d21d9f7fc added off64_t for glibc compatibility but
not the rest of LFS like stat64, fseek64, etc. Unfortunately, this namespace
pollution is incompatible with glibc and musl where off64_t is limited to
_LARGEFILE64_SOURCE.
See also
https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/sys/types.h;hb=refs/tags/glibc-2.38#l87
https://git.musl-libc.org/cgit/musl/commit/?id=2dd8d5e1b8ba
--
You are receiving this mail because:
You are the assignee for the bug.