Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2023 21:40:32 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Will we ever raise _POSIX_VERSION ?
Message-ID:  <CANCZdfopPay5bdh=8c3Rgc9c%2BPYjUfu-nLEaZ5WdWR=Z6q1BXA@mail.gmail.com>
In-Reply-To: <CAOtMX2giUwsJmRkod9OZHdXZOBTeECwf8LnGrV52-mkQB2yA%2Bg@mail.gmail.com>
References:  <CAOtMX2giUwsJmRkod9OZHdXZOBTeECwf8LnGrV52-mkQB2yA%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000f58fc80604bc9f30
Content-Type: text/plain; charset="UTF-8"

On Wed, Sep 6, 2023, 8:28 PM Alan Somers <asomers@freebsd.org> wrote:

> I notice that _POSIX_VERSION is still set to 200112L.  That's a shame,
> because it prevents zstd from using utimensat and tzdata from using
> strftime_l, even though we implement both of those functions.  And who
> knows what programs in ports are keying off of it.  What would be
> required for us to confidently raise it to 200809L or later?
>

The delta between the two is small...

It would take an exp run to find out... it would also tell you 90% of
what's needed as well as trigger a few false positives where ports are
naughty...

Also, we should have a new standard that's the first major revision since
2001...

Warner

>

--000000000000f58fc80604bc9f30
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, Sep 6, 2023, 8:28 PM Alan Somers &lt;<a href=
=3D"mailto:asomers@freebsd.org">asomers@freebsd.org</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">I notice that _POSIX_VERSION is still set t=
o 200112L.=C2=A0 That&#39;s a shame,<br>
because it prevents zstd from using utimensat and tzdata from using<br>
strftime_l, even though we implement both of those functions.=C2=A0 And who=
<br>
knows what programs in ports are keying off of it.=C2=A0 What would be<br>
required for us to confidently raise it to 200809L or later?<br></blockquot=
e></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">The delta betwe=
en the two is small...</div><div dir=3D"auto"><br></div><div dir=3D"auto">I=
t would take an exp run to find out... it would also tell you 90% of what&#=
39;s needed as well as trigger a few false positives where ports are naught=
y...</div><div dir=3D"auto"><br></div><div dir=3D"auto">Also, we should hav=
e a new standard that&#39;s the first major revision since 2001...</div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>

--000000000000f58fc80604bc9f30--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfopPay5bdh=8c3Rgc9c%2BPYjUfu-nLEaZ5WdWR=Z6q1BXA>