Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2021 15:57:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 259975] sys/file.h fails when -D_POSIX_C_SOURCE=200809L is given
Message-ID:  <bug-259975-29464-GVlj7tEJ10@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259975-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259975-29464@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D793fad727a33a5f539eb414e4f0b09aae=
e0a1b23

commit 793fad727a33a5f539eb414e4f0b09aaee0a1b23
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-24 09:25:47 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-06 15:55:58 +0000

    sys/file.h: Allow inclusion when compiling for a strict namespace

    Although not part of the standard, this file is sometimes included with
    -D_POSIX_C_SOURCE=3D<value> or -D_XOPEN_SOURCE=3D<value>. Limit those
    sturctures that use types hidden by __BSD_VISIBLE to when they are
    visible.

    PR:                     259975, 234205
    Sponsored by:           Netflix

    (cherry picked from commit a2b53e53a3f38dd89b64500a2d2a1727baffe4f9)

 sys/sys/file.h | 4 ++++
 1 file changed, 4 insertions(+)

--=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-259975-29464-GVlj7tEJ10>