RE: git: 2e30926a680d - main - FreeBSD bump POSIX_VERISON to 200809L [vs. #define _POSIX_VERSION 200808L]

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 31 May 2024 17:52:25 UTC
Warner Losh <imp_at_FreeBSD.org> wrote on
Date: Fri, 31 May 2024 16:53:52 UTC :

> The branch main has been updated by imp:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=2e30926a680dab37a4501021085990905827fdf9
> 
> commit 2e30926a680dab37a4501021085990905827fdf9
> Author: Warner Losh <imp@FreeBSD.org>
> AuthorDate: 2024-05-31 15:31:52 +0000
> Commit: Warner Losh <imp@FreeBSD.org>
> CommitDate: 2024-05-31 16:53:39 +0000
> 
> FreeBSD bump POSIX_VERISON to 200809L

Actual change used: 200808L

> FreeBSD now provides the overwhelming majority of the new interfaces for
> POSIX_VERSION 200809 (aka POSIX.1-2017 aka IEEE Std 1003.1™-2017, The

Actual change used: 200808L

>     Open Group Technical Standard Base Specifications, Issue 7 and IEEE Std
> 1003.1™-2017 (Revision of IEEE Std 1003.1-2008))
> 
> Exp Run PR: 249444

Might have tested with wrong definition?

> Sponsored by: Netflix
> ---
> sys/sys/unistd.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
> index 6128aab61877..fcfb417bfb1e 100644
> --- a/sys/sys/unistd.h
> +++ b/sys/sys/unistd.h
> @@ -93,7 +93,7 @@
> #endif
> 
> /* Define the POSIX.1 version we target for compliance. */
> -#define _POSIX_VERSION 200112L
> +#define _POSIX_VERSION 200808L

Subject and description list one of: 200809L vs. 200809

> /* access function */
> #define F_OK 0 /* test for existence of file */


===
Mark Millard
marklmi at yahoo.com