From: Paul Eggert Date: Thu, 23 Aug 2018 00:46:32 +0000 (-0700) Subject: regex: port Gnulib code to z/OS POSIX environment X-Git-Tag: glibc-2.29~506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35d3509caee04b2e196bb832138e4e4042347db;p=thirdparty%2Fglibc.git regex: port Gnulib code to z/OS POSIX environment Problem reported by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]: Undef. --- diff --git a/ChangeLog b/ChangeLog index 923f1f1d13a..39c6bf58678 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2018-08-22 Paul Eggert + + regex: port Gnulib code to z/OS POSIX environment + Problem reported by Arnold Robbins in: + https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html + * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]: + Undef. + 2018-08-22 Joseph Myers * math/test-double-vlen2.h: Don't include . diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 3b836ed2067..c7880667dd0 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -149,7 +149,10 @@ /* Rename to standard API for using out of glibc. */ #ifndef _LIBC # undef __wctype +# undef __iswalnum # undef __iswctype +# undef __towlower +# undef __towupper # define __wctype wctype # define __iswalnum iswalnum # define __iswctype iswctype