From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id CF7C63858CDA; Tue, 10 Jan 2023 13:28:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF7C63858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x536.google.com with SMTP id c17so17499410edj.13; Tue, 10 Jan 2023 05:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=F0utfNQR+1LRPgWrgE7rHj1XG1+D5JlXVOwgbbdMR2o=; b=TYB+bU1dOibnT7y5tjop9SmjO7GheP09eLEyUErXMdOVrGJyl64LzKaBOR7svkgvvW oZgIvkHdLnNkkBTjEqS8M8PqNX8Kb9a0D2BwymXXhacq9I+AujbMJxbl7o93airlNGcW JGPN0IyIUdPvfaNBJvQHC3nAewqZAlJRRbBRAMCLt1xPB1GyrtCf4pJuBt/U8vjU7N7/ 68FyDZRHD23pKXBaoxqCjChRnD048c76X1cCrSLcF1am23nbXtA4FMlcLxJgRknRzjdO HuvFKuq2lb2gRloF09s98Q0wbL6Yc0e1rCIbEr8XN+Kc/yyAgZGACbvpcM/LXdxdJdU2 Y81w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=F0utfNQR+1LRPgWrgE7rHj1XG1+D5JlXVOwgbbdMR2o=; b=cHVv7c2WlkhSVH2qOonNPIA84VCkgKuUUR/cXwcaVHjOJybMi8eXvXqRa22zAXuNDR 0OgDHk0kkt0LkhORnsZIB34hmsoxssqJvtb7NQvCpLO30fV4wnkMHMjTHAcSUf/x7l6C yC1q54WmxmWsdQB44bKIqS8UChhOKsVgvMoUVV2S7ojr+a5qSZUi74eE0qQ+u9euq49u 1VfjELV9lAOOoRCuXT6Rse0tY+YmvrPIJ93bt/N+qtnBgD8HiCE/XUJB949UZbMTVRRh NEFZHK4l/VPXLOuuTt95w1zvP1nPN9SgZu5VjYlT5DJ4xy7atHQh5c8zjI7qTpfYDR8R QrFg== X-Gm-Message-State: AFqh2kp2RWeOYemROT+goOIkb227t3BpLKptiJGVJboBtjNzJHvgOBPS y5fhrUiX8ZqCq6n9l4o0iCdrvoetAab3SPaw+9I= X-Google-Smtp-Source: AMrXdXvjS2jTm7fNnWVyxXB7dL1UwikYUUuIhm56sChWV/5eBvY+zJaD5OtdCgsDRM9JSOzq6eMPg13TsBDfFKo8c7U= X-Received: by 2002:aa7:c6c2:0:b0:47b:a8d:9a16 with SMTP id b2-20020aa7c6c2000000b0047b0a8d9a16mr7831078eds.33.1673357279713; Tue, 10 Jan 2023 05:27:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 10 Jan 2023 13:28:02 +0000 Message-ID: Subject: Re: [PATCH v2] libstdc++: Fix Unicode codecvt and add tests [PR86419] To: Dimitrij Mijoski Cc: gcc-patches , "libstdc++" Content-Type: multipart/alternative; boundary="0000000000003d5f0705f1e8dafa" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: --0000000000003d5f0705f1e8dafa Content-Type: text/plain; charset="UTF-8" On Tue, 10 Jan 2023, 13:00 Dimitrij Mijoski wrote: > Fixes the conversion from UTF-8 to UTF-16 to properly return partial > instead ok. > Fixes the conversion from UTF-16 to UTF-8 to properly return partial > instead ok. > Fixes the conversion from UTF-8 to UCS-2 to properly return partial > instead error. > Fixes the conversion from UTF-8 to UCS-2 to treat 4-byte UTF-8 sequences > as error just by seeing the leading byte. > Fixes UTF-8 decoding for all codecvts so they detect error at the end of > the input range when the last code point is also incomplete. > Thanks for the patch. Do you have a copyright assignment for gcc filed with the FSF? If not, we require that, or a DCO sign-off. See https://gcc.gnu.org/contribute.html#legal and https://gcc.gnu.org/dco.html for more details. --0000000000003d5f0705f1e8dafa--