mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Add correct variable names for _POSIX_IPV6 and _POSIX_RAW_SOCKETS
getconf only recognizes IPV6 and RAW_SOCKETS, when the standard requires it to recognize the actual configuration variable name[1]. I have not removed the earlier names for compatibility. * posix/getconf.c (vars): Add _POSIX_IPV6 and _POSIX_RAW_SOCKETS. [1] http://pubs.opengroup.org/onlinepubs/007904875/functions/sysconf.html
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* posix/getconf.c (vars): Add _POSIX_IPV6 and
|
||||
_POSIX_RAW_SOCKETS.
|
||||
|
||||
2014-09-13 Allan McRae <allan@archlinux.org>
|
||||
|
||||
* po/ru.po: Update Russian translation from translation project.
|
||||
|
||||
@@ -1004,6 +1004,13 @@ static const struct conf vars[] =
|
||||
{ "RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF },
|
||||
#endif
|
||||
|
||||
#ifdef _SC_IPV6
|
||||
{ "_POSIX_IPV6", _SC_IPV6, SYSCONF },
|
||||
#endif
|
||||
#ifdef _SC_RAW_SOCKETS
|
||||
{ "_POSIX_RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF },
|
||||
#endif
|
||||
|
||||
{ NULL, 0, SYSCONF }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user