Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2023 20:53:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 273712] off64_t namespace pollution in <sys/types.h> or incomplete LFS64 API support
Message-ID:  <bug-273712-99@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273712

            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: standards@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: cem@freebsd.org

off64_t is part of Large File Support API that FreeBSD never supported as o=
ff_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=3Dglibc.git;a=3Dblob;f=3Dposix/sys/types.h;hb=
=3Drefs/tags/glibc-2.38#l87
https://git.musl-libc.org/cgit/musl/commit/?id=3D2dd8d5e1b8ba

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273712-99>