Date: Wed, 6 Sep 2023 21:43:54 -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: <CANCZdfry4KaX-rTTgMgFRg_VJncANPusJKYfdkanZu=G6=rhiw@mail.gmail.com> In-Reply-To: <CANCZdfopPay5bdh=8c3Rgc9c%2BPYjUfu-nLEaZ5WdWR=Z6q1BXA@mail.gmail.com> References: <CAOtMX2giUwsJmRkod9OZHdXZOBTeECwf8LnGrV52-mkQB2yA%2Bg@mail.gmail.com> <CANCZdfopPay5bdh=8c3Rgc9c%2BPYjUfu-nLEaZ5WdWR=Z6q1BXA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000eb1df70604bcab73 Content-Type: text/plain; charset="UTF-8" On Wed, Sep 6, 2023, 9:40 PM Warner Losh <imp@bsdimp.com> wrote: > > > 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... > Nobody has paid someone to do the drudge work of ticking off all the boxes... it's not terribly hard work, just tedious. Especially since there will likely be a few variations in glibc that programs expect too... Warner Warner > >> --000000000000eb1df70604bcab73 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, 9:40 PM Warner Losh <<a href= =3D"mailto:imp@bsdimp.com">imp@bsdimp.com</a>> wrote:<br></div><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex"><div dir=3D"auto"><div><br><br><div class=3D"gmail_qu= ote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep 6, 2023, 8:28 PM Ala= n Somers <<a href=3D"mailto:asomers@freebsd.org" target=3D"_blank" rel= =3D"noreferrer">asomers@freebsd.org</a>> wrote:<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex">I notice that _POSIX_VERSION is still set to 200112L.=C2=A0= That'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's the first major revision since 2001...</div></d= iv></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">N= obody has paid someone to do the drudge work of ticking off all the boxes..= . it's not terribly hard work, just tedious.=C2=A0 Especially since the= re will likely be a few variations in glibc that programs expect too...</di= v><div dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"aut= o"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div dir=3D"auto"><div dir=3D"auto">Warner</div><div dir=3D"a= uto"><div 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> </blockquote></div></div></div> --000000000000eb1df70604bcab73--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfry4KaX-rTTgMgFRg_VJncANPusJKYfdkanZu=G6=rhiw>