mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
* posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,
_POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to 200809L instead of 200112L. (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. 2009-03-10 Jakub Jelinek <jakub@redhat.com>
This commit is contained in:
parent
eec4b45482
commit
7db0cc4245
@ -1,3 +1,11 @@
|
|||||||
|
2009-03-10 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,
|
||||||
|
_POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to
|
||||||
|
200809L instead of 200112L.
|
||||||
|
(_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700.
|
||||||
|
* posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L.
|
||||||
|
|
||||||
2009-03-10 Jakub Jelinek <jakub@redhat.com>
|
2009-03-10 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs
|
* stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs
|
||||||
|
@ -97,7 +97,7 @@ do_test (void)
|
|||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define STDVER 200112L
|
#define STDVER 200809L
|
||||||
if (scret > 0 && scret != STDVER && !posix_options[i].positive)
|
if (scret > 0 && scret != STDVER && !posix_options[i].positive)
|
||||||
{
|
{
|
||||||
printf ("sysconf(_SC_%s%s) must be %ldL\n",
|
printf ("sysconf(_SC_%s%s) must be %ldL\n",
|
||||||
|
@ -30,33 +30,35 @@ __BEGIN_DECLS
|
|||||||
/* These may be used to determine what facilities are present at compile time.
|
/* These may be used to determine what facilities are present at compile time.
|
||||||
Their values can be obtained at run time from `sysconf'. */
|
Their values can be obtained at run time from `sysconf'. */
|
||||||
|
|
||||||
/* POSIX Standard approved as ISO/IEC 9945-1 as of December 2001. */
|
/* POSIX Standard approved as ISO/IEC 9945-1 as of September 2008. */
|
||||||
#define _POSIX_VERSION 200112L
|
#define _POSIX_VERSION 200809L
|
||||||
|
|
||||||
/* These are not #ifdef __USE_POSIX2 because they are
|
/* These are not #ifdef __USE_POSIX2 because they are
|
||||||
in the theoretically application-owned namespace. */
|
in the theoretically application-owned namespace. */
|
||||||
|
|
||||||
/* The utilities on GNU systems also correspond to this version. */
|
/* The utilities on GNU systems also correspond to this version. */
|
||||||
#define _POSIX2_VERSION 200112L
|
#define _POSIX2_VERSION 200809L
|
||||||
|
|
||||||
/* If defined, the implementation supports the
|
/* If defined, the implementation supports the
|
||||||
C Language Bindings Option. */
|
C Language Bindings Option. */
|
||||||
#define _POSIX2_C_BIND 200112L
|
#define _POSIX2_C_BIND 200809L
|
||||||
|
|
||||||
/* If defined, the implementation supports the
|
/* If defined, the implementation supports the
|
||||||
C Language Development Utilities Option. */
|
C Language Development Utilities Option. */
|
||||||
#define _POSIX2_C_DEV 200112L
|
#define _POSIX2_C_DEV 200809L
|
||||||
|
|
||||||
/* If defined, the implementation supports the
|
/* If defined, the implementation supports the
|
||||||
Software Development Utilities Option. */
|
Software Development Utilities Option. */
|
||||||
#define _POSIX2_SW_DEV 200112L
|
#define _POSIX2_SW_DEV 200809L
|
||||||
|
|
||||||
/* If defined, the implementation supports the
|
/* If defined, the implementation supports the
|
||||||
creation of locales with the localedef utility. */
|
creation of locales with the localedef utility. */
|
||||||
#define _POSIX2_LOCALEDEF 200112L
|
#define _POSIX2_LOCALEDEF 200809L
|
||||||
|
|
||||||
/* X/Open version number to which the library conforms. It is selectable. */
|
/* X/Open version number to which the library conforms. It is selectable. */
|
||||||
#ifdef __USE_XOPEN2K
|
#ifdef __USE_XOPEN2K8
|
||||||
|
# define _XOPEN_VERSION 700
|
||||||
|
#elif defined __USE_XOPEN2K
|
||||||
# define _XOPEN_VERSION 600
|
# define _XOPEN_VERSION 600
|
||||||
#elif defined __USE_UNIX98
|
#elif defined __USE_UNIX98
|
||||||
# define _XOPEN_VERSION 500
|
# define _XOPEN_VERSION 500
|
||||||
|
Loading…
Reference in New Issue
Block a user