From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76538 invoked by alias); 8 Aug 2018 08:52:35 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 76409 invoked by uid 9078); 8 Aug 2018 08:52:31 -0000 Date: Wed, 08 Aug 2018 08:52:00 -0000 Message-ID: <20180808085231.76406.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: newlocale: fix typo rendering ctype_ptr invalid X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 0283642f35ce019589a6263b7eb0646776fca157 X-Git-Newrev: ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5 X-SW-Source: 2018-q3/txt/msg00037.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5 commit ccea3b45b0e45abcbe7e17e91c4659c9e68d8ef5 Author: Corinna Vinschen Date: Tue Aug 7 15:23:19 2018 +0200 newlib: newlocale: fix typo rendering ctype_ptr invalid Signed-off-by: Corinna Vinschen Diff: --- newlib/libc/locale/newlocale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c index c6c2a9c..0789d5f 100644 --- a/newlib/libc/locale/newlocale.c +++ b/newlib/libc/locale/newlocale.c @@ -147,7 +147,7 @@ _newlocale_r (struct _reent *p, int category_mask, const char *locale, tmp_locale.wctomb = base->wctomb; tmp_locale.mbtowc = base->mbtowc; tmp_locale.cjk_lang = base->cjk_lang; - tmp_locale.ctype_ptr - base->ctype_ptr; + tmp_locale.ctype_ptr = base->ctype_ptr; } #ifdef __HAVE_LOCALE_INFO__ /* Mark the values as "has still to be copied". We do this in