From patchwork Mon Aug 27 21:11:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Eggert X-Patchwork-Id: 29085 Received: (qmail 102793 invoked by alias); 27 Aug 2018 21:25:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 102680 invoked by uid 89); 27 Aug 2018 21:25:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=arnold, H*Ad:D*edu X-HELO: zimbra.cs.ucla.edu From: Paul Eggert To: libc-alpha@sourceware.org Cc: Paul Eggert Subject: [committed] regex: port Gnulib code to z/OS POSIX environment Date: Mon, 27 Aug 2018 14:11:48 -0700 Message-Id: <20180827211149.10421-3-eggert@cs.ucla.edu> In-Reply-To: <20180827211149.10421-2-eggert@cs.ucla.edu> References: <3db72f1d-1547-c5eb-cf78-d6198be62c55@redhat.com> <20180827211149.10421-1-eggert@cs.ucla.edu> <20180827211149.10421-2-eggert@cs.ucla.edu> 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. --- ChangeLog | 8 ++++++++ posix/regex_internal.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 923f1f1d13..39c6bf5867 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 3b836ed206..c7880667dd 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