Blame SOURCES/glibc-rh1505492-undef-48.patch

c6d234
commit 61fe374a44a92621e0b75ec1f011ff1fba6c2148
c6d234
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
c6d234
Date:   Mon Sep 15 10:16:14 2014 +0530
c6d234
c6d234
    Remove _POSIX_REGEX_VERSION
c6d234
    
c6d234
    There is no _POSIX_REGEX_VERSION, so don't check for it.
c6d234
    _REGEX_VERSION has been removed as well[1], so only keep the -1 return
c6d234
    for backward compatibility.  I found this when trying to make the
c6d234
    getconf environment variables typo-proof.
c6d234
    
c6d234
            * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
c6d234
            _SC_REGEX_VERSION.
c6d234
    
c6d234
    [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html
c6d234
c6d234
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
c6d234
index e795b565367bdd1b..cf4f8010097e309a 100644
c6d234
--- a/sysdeps/posix/sysconf.c
c6d234
+++ b/sysdeps/posix/sysconf.c
c6d234
@@ -983,12 +983,10 @@ __sysconf (name)
c6d234
 #else
c6d234
       return -1;
c6d234
 #endif
c6d234
+    /* _REGEX_VERSION has been removed with IEEE Std 1003.1-2001/Cor 2-2004,
c6d234
+       item XSH/TC2/D6/137.  */
c6d234
     case _SC_REGEX_VERSION:
c6d234
-#if _POSIX_REGEX_VERSION > 0
c6d234
-      return _POSIX_REGEX_VERSION;
c6d234
-#else
c6d234
       return -1;
c6d234
-#endif
c6d234
 
c6d234
     case _SC_SHELL:
c6d234
 #if _POSIX_SHELL > 0