Message ID | cover.1722924862.git.fweimer@redhat.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D015D3858435 for <patchwork@sourceware.org>; Tue, 6 Aug 2024 06:16:50 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 9F782385840F for <libc-alpha@sourceware.org>; Tue, 6 Aug 2024 06:16:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9F782385840F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9F782385840F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722924972; cv=none; b=BsZDNKI0bbWOxUtuCWbOC0HBtMxRW8hRx+MbmJd/KHIG7zVZwn1DZF34iD1BdJXSBXLXoZQ2R/e7TRxrHLSyqP796BL/ta4qTbQGN1u0JxejJahDQMCaprtvRji9oekfaRCUPcglPiXBFTrJSSOrepw9Mo9bZB+lLTLiM0Tz2ag= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722924972; c=relaxed/simple; bh=HNu5YE3UQIJMKCnmTyRPSkUuMQTqTGTtBq0SOyPa22w=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=YikUbsVII7+qNDcAS5gLkDs5fI+BdYV3xlI8xIjqOquv0V9t0zLGep1JmEL5uWIFLjKM6T7HUJ8DSOtL8hMVa2FHSyJWO98hRAU5zQ2vCeFXMXgkBllgJwcfD1wiaMxRksFeQfSPZ6utzyOVsANNdU+kOQ4Fw2SQIfryPAKAMjc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722924970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Qm61ClGXpf0nH88wEPS8qX404yoTSzdVQop+K77Ktps=; b=PK3G69w+yhPj4uPr6aS7wYWLavapdfvp81A98Zlfo6KlSnvfLRS/7fklJT7rhLUkrjMZLb DBIBp66kIDhfcUNlUyxRkdOU5BZ2d4UL5p8Keen77ySbLnHG3rsG5oflb94SV20IQ8mhqP Ir8hvs4EM9P8P4PlAQ4MjSYjUZ+FYI0= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-185-yK51uxYwN0KZoHMYwN5mvw-1; Tue, 06 Aug 2024 02:16:08 -0400 X-MC-Unique: yK51uxYwN0KZoHMYwN5mvw-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5EC5B1955D4E for <libc-alpha@sourceware.org>; Tue, 6 Aug 2024 06:16:07 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.45.224.40]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 356611955D42 for <libc-alpha@sourceware.org>; Tue, 6 Aug 2024 06:16:05 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Subject: [PATCH v2 0/7] Various iconv (the program) fixes Message-ID: <cover.1722924862.git.fweimer@redhat.com> X-From-Line: 592986faab2dc259ae5f537ff6b4be6793fd7fdf Mon Sep 17 00:00:00 2001 Date: Tue, 06 Aug 2024 08:16:02 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Various iconv (the program) fixes
|
|
Message
Florian Weimer
Aug. 6, 2024, 6:16 a.m. UTC
Rebased onto the current branch. Fixed the typo Michael identified. I should have mentioned that the rarely used charmap file support does not have the buffering changes yet. Thanks, Florian Florian Weimer (7): iconv: Base tests for buffer management iconv: Do not use mmap in iconv (the program) (bug 17703) manual: __is_last is no longer part of iconv internals iconv: Preserve iconv -c error exit on invalid inputs (bug 32046) iconv: Support in-place conversions (bug 10460, bug 32033) iconv: Multiple - on command line should not fail (bug 32050) iconv: Input buffering for the iconv program (bug 32050) NEWS | 3 + iconv/Makefile | 27 +- iconv/gconv_int.h | 30 ++ iconv/gconv_simple.c | 18 +- iconv/gconv_trans.c | 2 +- iconv/iconv_prog.c | 547 +++++++++++++++++---------- iconv/loop.c | 5 +- iconv/tst-iconv-sticky-input-error.c | 135 +++++++ iconv/tst-iconv_prog-buffer.sh | 306 +++++++++++++++ iconvdata/cp932.c | 6 +- iconvdata/euc-jp-ms.c | 8 +- iconvdata/gbbig5.c | 4 +- iconvdata/ibm1364.c | 8 +- iconvdata/iso646.c | 154 ++++---- iconvdata/unicode.c | 2 +- iconvdata/utf-16.c | 2 +- iconvdata/utf-32.c | 2 +- manual/charset.texi | 18 +- 18 files changed, 957 insertions(+), 320 deletions(-) create mode 100644 iconv/tst-iconv-sticky-input-error.c create mode 100644 iconv/tst-iconv_prog-buffer.sh base-commit: d7eca2714f0da98894baa15e4c4735297ecd738d