Remove _POSIX_REGEX_VERSION
commit61fe374a44a92621e0b75ec1f011ff1fba6c2148
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 15 Sep 2014 04:46:14 +0000 (15 10:16 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 15 Sep 2014 04:46:14 +0000 (15 10:16 +0530)
tree81627d3b57d49c5f12888fdf46f32034a7af3ab0
parent3f41521d4b9697634d3f574ee5fd3a22f217b25d
Remove _POSIX_REGEX_VERSION

There is no _POSIX_REGEX_VERSION, so don't check for it.
_REGEX_VERSION has been removed as well[1], so only keep the -1 return
for backward compatibility.  I found this when trying to make the
getconf environment variables typo-proof.

* sysdeps/posix/sysconf.c (__sysconf): Return -1 for
_SC_REGEX_VERSION.

[1] http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html
ChangeLog
sysdeps/posix/sysconf.c