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: 593048 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9E8A21401CA for ; Tue, 8 Mar 2016 03:49:14 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=GEP2U4ZP; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=Z1AQwGVgd6A4yG3si775G9EbnSITy k2Oy4SilUdz/EcUHBkGGFaAFChZePuHHwQnLqeo2oRoHmXUrQF3OqjMGZHBf9Z7q Tm/432jVAtdHrVJUE4KojjeeErmwcA7TID4J28FK/OqQh8ZX+DZdcNEpZKNxx5KN o7kJiZ0Qz9DjGY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=sarUEYDnLMpklLCIhCKjaLpWx5E=; b=GEP 2U4ZPWSfAo85cG/zRnOpaSwbAhcYe5H8v2NtYEW/X99jSapgtxsGDHaB8HVkvvGv f05tu20PJ9/eHCkqaZl1LFgo2vj3yBFGAca1BWtQCCmh8PgzLU9l6KLwgYRq6BP5 L7D37Q7JObVqDckP03MrUtJRPj1crAeJvsiPiv8o= 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)