From patchwork Mon Mar 7 16:48:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 11233 Received: (qmail 63983 invoked by alias); 7 Mar 2016 16:49:07 -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 63901 invoked by uid 89); 7 Mar 2016 16:49:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx2.suse.de From: Andreas Schwab To: libc-alpha@sourceware.org Subject: [PATCH] Fix min/max needed for ascii to INTERNAL conversion X-Yow: My DIGITAL WATCH has an automatic SNOOZE FEATURE!! Date: Mon, 07 Mar 2016 17:48:59 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 The values are swapped. Installed as obvious. Andreas. * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max needed arguments. --- iconv/gconv_builtin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h index 856d0a9..487aa73 100644 --- a/iconv/gconv_builtin.h +++ b/iconv/gconv_builtin.h @@ -84,7 +84,7 @@ BUILTIN_ALIAS ("OSF00010020//", "ANSI_X3.4-1968//") BUILTIN_TRANSFORMATION ("ANSI_X3.4-1968//", "INTERNAL", 1, "=ascii->INTERNAL", __gconv_transform_ascii_internal, __gconv_btwoc_ascii, - 4, 4, 1, 1) + 1, 1, 4, 4) BUILTIN_TRANSFORMATION ("INTERNAL", "ANSI_X3.4-1968//", 1, "=INTERNAL->ascii", __gconv_transform_internal_ascii, NULL, 4, 4, 1, 1)